Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: From: Steven Aiello To: "'cygwin'" Subject: RE: FW: sftpd Date: Thu, 23 Nov 2000 10:36:01 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" More detailed logging. Server Debug Screen: debug1: sshd version OpenSSH_2.3.0p1 debug1: Seeding random number generator debug1: read DSA private key done debug1: Seeding random number generator debug1: Bind to port 22 on 0.0.0.0. Server listening on 0.0.0.0 port 22. Generating 768 bit RSA key. debug1: Seeding random number generator debug1: Seeding random number generator RSA key generation complete. debug1: Server will not fork when running in debugging mode. Connection from 127.0.0.1 port 1004 debug1: Client protocol version 1.5; client software version OpenSSH_2.3.0p1 debug1: no match: OpenSSH_2.3.0p1 debug1: Local version string SSH-1.99-OpenSSH_2.3.0p1 debug1: Sent 768 bit public key and 1024 bit host key. debug1: Encryption type: 3des debug1: Received session key; encryption turned on. debug1: Installing crc compensation attack detector. debug1: Attempting authentication for saiello. debug1: Trying rhosts with RSA host authentication for client user saiello debug1: seteuid 1476: Not owner Failed rhosts-rsa for saiello from 127.0.0.1 port 1004 ruser saiello Accepted password for saiello from 127.0.0.1 port 1004 debug1: session_new: init debug1: session_new: session 0 debug1: Exec command 'sftpserv' debug1: Entering interactive session. debug1: fd 7 setting O_NONBLOCK debug1: fd 7 IS O_NONBLOCK debug1: fd 9 setting O_NONBLOCK debug1: server_init_dispatch_13 debug1: server_init_dispatch_15 debug1: Received SIGCHLD. debug1: End of interactive session; stdin 0, stdout (read 0, sent 0), stderr 104 5 bytes. debug1: Command exited with status 127. debug1: Received exit confirmation. Closing connection to 127.0.0.1 Client Screen: $ sftp 127.0.0.1 saiello AT 127 DOT 0 DOT 0 DOT 1's password: Environment: !C:=C:\WINNT\SYSTEM32 COMPUTERNAME=SAIELLOLAPTOPX COMSPEC=C:\WINNT\system32\cmd.exe NTRESKIT=D:\admin\ntreskit NUMBER_OF_PROCESSORS=1 OS=Windows_NT OS2LIBPATH=C:\WINNT\system32\os2\dll; PATH=/cygdrive/d/UMS/DMI/bin:/cygdrive/d/admin/aintx:/cygdrive/c/WINNT/syste m3 2:/cygdrive/d/admin/INSIGHT MANAGER:/cygdrive/c/WINNT:/cygdrive/c/THINKPAD:/cygd rive/d/Admin/Utils/pcAnywhere:/cygdrive/d/ PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=0801 PROMPT=$P$G SYSTEMDRIVE=C: SYSTEMROOT=C:\WINNT USERPROFILE=C:\WINNT\Profiles\Default User WINDIR=C:\WINNT TERM=cygwin USERNAME=SAiello LOGONSERVER=\\XXXXXXXXXXX USERDOMAIN=XXXXXXXX HOMEPATH=\ HOMEDRIVE=C: USER=saiello LOGNAME=saiello HOME= MAIL=/var/spool/mail/saiello SHELL=/bin/sh SSH_CLIENT=127.0.0.1 1004 22 Could not chdir to home directory : No such file or directory sftpserv: not found read: Interrupted system call > -----Original Message----- > From: Corinna Vinschen [mailto:vinschen AT redhat DOT com] > Sent: Thursday, November 23, 2000 6:28 AM > To: cygwin > Subject: Re: FW: sftpd > > > Sorry Steven, but I'm unable to reproduce your problem. I'm using > openssh-2.3.0p1 and it starts sftp-server as expected. > > Steven Aiello wrote: > > > > My bad.. > > > > Problem: I try to use sftp, but am unable to connect. I am > able to login, > > but after that things to seem to go awry. On the server, I > run sshd in > > debug mode and see the following: > > Accepted password for saiello from 127.0.0.1 port 605 > > debug1: session_new: init > > debug1: session_new: session 0 > > debug1: Exec command 'sftpserv' > > Strange... are you sure using OpenSSH-2.3.0p1? I'm asking because the > above output seems not to be produced by a OpenSSH-2.3.0p1 version. It > should look like that: > > Accepted password for saiello from 127.0.0.1 port 605 ssh2 > debug1: Entering interactive session for SSH2. > debug1: server_init_dispatch_20 > debug1: server_input_channel_open: ctype session rchan 0 win > 100000 max 8192 > debug1: open session > debug1: channel 0: new [server-session] > debug1: session_new: init > debug1: session_new: session 0 > debug1: session_open: channel 0 > debug1: session_open: session 0: link with channel 0 > debug1: confirm session > debug1: session_by_channel: session 0 channel 0 > debug1: session_input_channel_req: session 0 channel 0 > request subsystem reply 1 > subsystem request for sftp > debug1: subsystem: exec() /usr/sbin/sftp-server > > > Corinna > > -- > Corinna Vinschen Please, send mails > regarding Cygwin to > Cygwin Developer > mailto:cygwin AT cygwin DOT com > Red Hat, Inc. > mailto:vinschen AT redhat DOT com > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com