scp fails with "ls" or other command in sshrc

Markus Friedl markus at openbsd.org
Wed Apr 3 19:28:52 EST 2002


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.
> 
> Is this a  bug or dont I understand something ?
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/



More information about the openssh-unix-dev mailing list