This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated: OpenSSH-2.3.0p1
Corinna Vinschen wrote:
>
> "Charles S. Wilson" wrote:
> >
> > Does the sftp-server work when connecting to cgywin-OpenSSH with
> > ssh.com's sftp client? I couldn't get it to work, although ordinary ssh
> > connections are fine (both version 1 and version 2). I did uncomment the
> > "Subsystem sftp /usr/sbin/sftp-server" line in /etc/sshd_config
>
> I just tried it and I can connect. I'm using an ssh.com-2.3.0
> on a Linux box to connect to my OpenSSH-2.3.0p1. However, I had
> found various problems with the ftp commands `pwd' and `ls' which
> I had reported to the maintainer but without result. The problems
> remain.
>
> Sigh. This will need some additional testing. The maintainer of
> sftp-server can't spell "Windows"...
>
> If you can't connect it would be very helpful if you could take
> a look into that. I will try to debug the `pwd' and `ls' problems.
Okay. It seems to be a false alarm. My original tests used the
graphical sftp client from ssh.com, which does an 'ls' as its first
operation -- and as you point out, 'ls' doesn't work without your latest
cygwin patch. However, from linux:
sftp-2.2.0 linux ----> cygwin-openssh-2.3.0p1
works okay, but sometimes times out as shown below
local path : /export/home/cwilson
Development-time debugging not compiled in.
To enable, configure with --enable-debug and recompile.
debug: host belgarion port
debug: args[0] = ssh2
debug: args[1] = -d
debug: args[2] = 2
debug: args[3] = belgarion
debug: args[4] = -s
debug: args[5] = sftp
Development-time debugging not compiled in.
To enable, configure with --enable-debug and recompile.
debug: hostname is 'belgarion'.
debug: Unable to open /home/cwilson/.ssh2/ssh2_config
Development-time debugging not compiled in.
To enable, configure with --enable-debug and recompile.
debug: connecting to belgarion...
debug: entering event loop
debug: ssh_client_wrap: creating transport protocol
debug: ssh_client_wrap: creating userauth protocol
debug: Remote version: SSH-1.99-OpenSSH_2.3.0p1
debug: Host key found from the database.
cwilson@belgarion's password:
debug: Ssh2/ssh2.c:304/client_authenticated: client_authenticated
debug: SshTtyFlags/sshttyflags.c:275/ssh_encode_tty_flags: Not a tty.
(fd = 0)
debug: Requesting X11 forwarding with authentication spoofing.
remote path : /e/Users/cwilson
sftp>get .cvsrc
Transferring /e/Users/cwilson/.cvsrc -> /export/home/cwilson/.cvsrc
(1k)
|o................................................................................|
|.................................................................................|
sftp>quit
debug: ssh_pipe_stream_destroy
$ debug: session_close
debug: destroying client struct...
debug: uninitializing event loop
Sometimes the "remote path :" step times out:
<snipped>
debug: Requesting X11 forwarding with authentication spoofing.
remote path : Error: Operation timed out after 30 seconds.
remote server failed.
sftp>quit
Great job, Corinna!
--Chuck
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com