snapshot sftpserver

Jan-Frode Myklebust janfrode at parallab.uib.no
Sun Feb 18 07:47:33 EST 2001


I'm having some problems with the sftpserver from yesterdays snapshot. It's
working fine on the machine I built it on, but the (supposedly) identical
machines I rdisted it to fails (SGI O2, Irix 6.5.11m).

The client says:

% sftp buskfuru
Connecting to buskfuru...
Enter passphrase for key '/usr/people/jfm/.ssh/id_dsa': 
janfrode at buskfuru's password: 
Received message too long 1466004078


and 'sshd -d' tells me:

debug1: sshd version OpenSSH_2.3.2p1
debug1: load_private_key_autodetect: type 0 RSA1
debug1: read SSH2 private key done: name dsa w/o comment success 1
debug1: load_private_key_autodetect: type 2 DSA
debug1: Seeded RNG with 32 bytes from programs
debug1: Seeded RNG with 3 bytes from system calls
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: Seeded RNG with 32 bytes from programs
debug1: Seeded RNG with 3 bytes from system calls
RSA key generation complete.
debug1: Server will not fork when running in debugging mode.
Connection from 129.177.20.36 port 2355
debug1: Client protocol version 2.0; client software version
OpenSSH_2.3.2p1
debug1: match: OpenSSH_2.3.2p1 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-1.99-OpenSSH_2.3.2p1
debug1: Rhosts Authentication disabled, originating port not trusted.
debug1: list_hostkey_types: ssh-dss
debug1: send KEXINIT
debug1: done
debug1: wait KEXINIT
debug1: got kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug1: got kexinit: ssh-rsa,ssh-dss
debug1: got kexinit:
3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc at lysator.liu.se
debug1: got kexinit:
3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc at lysator.liu.se
debug1: got kexinit:
hmac-sha1,hmac-md5,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug1: got kexinit:
hmac-sha1,hmac-md5,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug1: got kexinit: none
debug1: got kexinit: none
debug1: got kexinit: 
debug1: got kexinit: 
debug1: first kex follow: 0 
debug1: reserved: 0 
debug1: done
debug1: kex: client->server 3des-cbc hmac-sha1 none
debug1: kex: server->client 3des-cbc hmac-sha1 none
debug1: Wait SSH2_MSG_KEX_DH_GEX_REQUEST.
debug1: Sending SSH2_MSG_KEX_DH_GEX_GROUP.
debug1: bits set: 991/2049
debug1: Wait SSH2_MSG_KEX_DH_GEX_INIT.
debug1: bits set: 1041/2049
debug1: sig size 20 20
debug1: send SSH2_MSG_NEWKEYS.
debug1: done: send SSH2_MSG_NEWKEYS.
debug1: Wait SSH2_MSG_NEWKEYS.
debug1: GOT SSH2_MSG_NEWKEYS.
debug1: done: KEX2.
debug1: userauth-request for user janfrode service ssh-connection method
none
debug1: attempt 0 failures 0
Failed none for janfrode from 129.177.20.36 port 2355 ssh2
debug1: userauth-request for user janfrode service ssh-connection method
password
debug1: attempt 1 failures 1
Accepted password for janfrode from 129.177.20.36 port 2355 ssh2
debug1: Entering interactive session for SSH2.
debug1: server_init_dispatch_20
debug1: server_input_channel_open: ctype session rchan 0 win 65536 max
32768
debug1: input_session_request
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: server_input_channel_open: confirm session
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 channel 0 request subsystem
reply 1subsystem request for sftp
debug1: subsystem: exec() /usr/openssh/libexec/sftp-server
debug1: fd 9 setting O_NONBLOCK
debug1: fd 9 IS O_NONBLOCK
debug1: channel 0: rcvd eof
debug1: channel 0: output open -> drain
debug1: channel 0: obuf empty
debug1: channel 0: output drain -> closed
debug1: channel 0: close_write
debug1: Received SIGCHLD.
debug1: session_by_pid: pid 30778
debug1: session_exit_message: session 0 channel 0 pid 30778
debug1: session_exit_message: release channel 0
debug1: session_free: session 0 pid 30778
debug1: channel 0: read<=0 rfd 9 len 0
debug1: channel 0: read failed
debug1: channel 0: input open -> drain
debug1: channel 0: close_read
debug1: channel 0: input: no drain shortcut
debug1: channel 0: ibuf empty
debug1: channel 0: input drain -> closed
debug1: channel 0: send eof
debug1: channel 0: send close
debug1: channel 0: rcvd close
debug1: channel 0: full closed2
debug1: channel_free: channel 0: status: The following connections are
open:
  #0 server-session (t4 r0 i8/0 o128/0 fd 9/9)

Connection closed by remote host.
debug1: Calling cleanup 0x10043a30(0x0)
debug1: Calling cleanup 0x1004e2d0(0x0)
debug1: Calling cleanup 0x1004af80(0x0)
debug1: writing PRNG seed to file //.ssh/prng_seed


If I try to connect with sftp from ssh.com it says:

% sftp buskfuru
janfrode at bruse's password: 
sftp> Warning: ssh_packet_wrapper_input: invalid packet received: len
1466004082 closing the offending input channel.


Any idea what's failing here?


  -jf





More information about the openssh-unix-dev mailing list