[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: ssh commands
- From: Robert Canary <phantom ohiocounty net>
- To: redhat-list redhat com
- Subject: Re: ssh commands
- Date: Thu Jan 2 04:06:04 2003
Nevermind I figured it out. I had to put the whole commadline in single
quotes like this.
ssh username sshserver 'echo -e "this is a test\ntwo=2" > /tmp/sshtest;
cat /tmp/sshtest'
Robert Canary wrote:
>
> I am trying to pass the following on a commandline via ssh
> echo -e "this is a test\ntwo=2" > /tmp/sshtest; cat /tmp/sshtest
>
> on the console commandline I get.
> this a test
> two=2
>
> However, if pass it through the commadline on a ssh I get
> this is a testtwo=2
>
> I have tried double slashes and that will not work iether. The
> commandline works on both machines fine while at the console, but I
> cannot get the <NL><RT> on when going through a ssh.
>
> anyone know why?
>
> --
> robert canary
> system services
> OhioCounty.Net
> rwcanary ohiocounty net
> (270)298-9331 Office
> (270)298-7449 Fax
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
--
robert canary
system services
OhioCounty.Net
rwcanary ohiocounty net
(270)298-9331 Office
(270)298-7449 Fax
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]