Displaying 1 result from an estimated 1 matches for "tmp7junk".
Did you mean:
tcpjunk
2002 Apr 03
0
scp fails with "ls" or other command in sshrc
sshrc MUST NOT produce any output on 'stdout', use 'stderr' instead.
On Wed, Apr 03, 2002 at 01:13:07AM -0800, Mark Pitt wrote:
> On AIX 4.3.3 with 2.9.9 and 3.1.p1, once I place "ls"
> or any other command in sshrc such as:
>
> ls
> ls > /tmp7junk.txt
> cat /tmp/junk.txt
>
> then scp simply ceases to work, stopping at first
> "file modes" debug message.
>
> export LSLIST=$( ls )
>
> echo $LSLIST
>
> however works.
>
> I noticed this with I program of mine, and then tried
> ls.
>
>...