sftp client

Damien Miller djm at mindrot.org
Fri Feb 9 13:26:00 EST 2001


On Thu, 8 Feb 2001, Corinna Vinschen wrote:

 
> > Can you turn on debugging in the sftp-server by editing the #define TRACE 
> > to use log instead of debug. I would like to see whether ssh.com sftp 
> > sends an explicit close message.
> 
> Session:
> 
> 	$ sftp cvaio
> 	sftp> pwd
> 	/home/corinna
> 	sftp> ^D
> 
> Log with ssh.com sftp:
> 
> sftp-server :  Cygwin Process Id = 0x63C : client version 2  
> sftp-server :  Cygwin Process Id = 0x63C : realpath id 0 path . 
> sftp-server :  Cygwin Process Id = 0x63C : sent names id 0 count 1 
> 
> Log with openssh sftp:
> 
> sftp-server :  Cygwin Process Id = 0x5D4 : client version 2  
> sftp-server :  Cygwin Process Id = 0x5D4 : realpath id -1560921021 path . 
> sftp-server :  Cygwin Process Id = 0x5D4 : sent names id -1560921021 count 1 
> 
> Is that helpful?!?

Not really :( They are doing exactly the same thing. Perhaps there is a 
difference in how they close the underlying ssh session.

> BTW: What's about the patch to sftp-client.c I sent two days ago which
> solves the "Couldn't close file: No Such File" problem?

It is in the OpenBSD tree and will be synced soon with portable.

-d

-- 
| Damien Miler <djm at mindrot.org> \ ``E-mail attachments are the poor man's 
| http://www.mindrot.org         /   distributed filesystem'' - Dan Geer






More information about the openssh-unix-dev mailing list