Re: sftp + ls not working properly

From: Piotr Wolak (piotr_wolak@yahoo.com)
Date: 03/28/02


From: piotr_wolak@yahoo.com (Piotr Wolak)
Date: 28 Mar 2002 10:28:30 -0800


"Nico Kadel-Garcia" <nkadel@bellatlantic.net> wrote in message news:<jPko8.24213$n8.21209@nwrddc02.gnilink.net>...
> "Piotr Wolak" <piotr_wolak@yahoo.com> wrote in message
> news:a18ea926.0203270608.75479ae6@posting.google.com...
> > Hello,
> >
> > I'm having a problem with sftp and ls. Here is a sample output from ls
> > command:
> >
> > sftp> ls
> > drwx------ 6 20000 41 512 Mar 27 13:06 .
> > drwx------ 6 20000 41 512 Mar 27 13:06 ..
> > drwx------ 3 20000 41 512 Mar 27 12:31 usr
> > drwx------ 2 20000 41 512 Mar 27 12:31 bin
> > sftp>
> >
> > Do you know why the ls command does not convert UID and GID into real
> > user name and group name ? Which is the default ls binary use by sftp
> > ?
> >
> > Thanks for your time and help,
> > Piotr
>
> It seems to be built into sftp-server. It also doesn't allow wildcard
> expansion or recursive listings. This is why I recommend against sftp so
> violently and suggest people use graphical SSH tools like WinSCP2 when
> available.
Hi,

Thanks to all of you for helpful hints. And there is a question for
Nico:

As you suggested I started using the WinSCP2 software. Unfortunately
I'm getting the following error when I'm trying to connect to my
chroot'ed env:

Error getting name of current remote directory

The sftp from regular command line works perfectly well.

Any ideas ?

Thanks and have a great day,
Best regards,
Piotr



Relevant Pages

  • RE: sftp-server on solaris8
    ... command was failing to execute the command "ksh -c ... It seems to me that SSH and SFTP are having trouble talking remotely... ... anti-virus service working around the clock, around the globe, visit: ...
    (SSH)
  • Re: SFTP GET COMMAND QUESTION
    ... Subject: SFTP GET COMMAND QUESTION ... Look at z/os client parameters TRAILINGBLANKS, TRUNCATE, and WRAPRECORD. ... the end of line character. ...
    (bit.listserv.ibm-main)
  • Re: [SLE] Getting Dreamweaver to connect to SFTP via vsftpd
    ... In using regular ftp command I can't connect to ... >> the ftp server but using the sftp command I can connect. ... > sftp has nothing to do with vsftpd. ...
    (SuSE)
  • Re: sftp Win client batch mode?
    ... It's a GPL clone of Cute FTP Pro and It supports SFTP. ... Interactive sftp from command ... > to run it in batch mode and feed it a list of commands from ... > not have to install that for every user, especially when F-Secure is the ...
    (comp.security.ssh)
  • Re: rssh testing
    ... This doesn't seem right, I would think I should get a command prompt, ... fact that sftp is allowed, ... configure commands via ssh. ... never get a prompt from the remote login shell. ...
    (comp.security.ssh)