SSH FTP Directories

Darren J Moffat Darren.Moffat at Sun.COM
Wed May 14 09:47:57 EST 2003

On Tue, 13 May 2003, David Turner wrote:

> I am making a SSH FTP client implementation, and I have run into a problem
> with directory listings.  Some servers (e.g. Solaris) place * at the end of

That only happens if you specified the -F flag to ls.  I think you are
confusing what the /bin/ls command does versus what the system calls that
it calls do.  The Solaris kernel certainly does not add a * to the end of
a file name.

Check your shell aliases, if someone is calling /bin/ls to do any listing
then it is quite possible it is picking up your shell aliases.

Darren J Moffat

More information about the openssh-unix-dev mailing list