sftd problem on Tru64 Unix

Byron Jennings jennings at triumf.ca
Wed Feb 21 03:55:10 EST 2001



I have a Digital Unix Version 4.0B and openssh works fine excect for
sftpd. I can do most things things with sftp (copy files, change
directories) but when I do an ls it drops the connection. This is with the
most recent version of openssh "OpenSSH_2.5.1p1". I have included the
output of sftpd -v -v . OpenSSH was complied with the gcc version  2.95.2 19991024

Byron Jennings

______________________________________________________________________________________________

Connecting to alph01...
debug: SSH args "ssh -oProtocol=2 -s -oForwardAgent=no -oForwardX11=no -v
-v alph01 sftp"
OpenSSH_2.5.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090581f
debug: Reading configuration data /home/jennings/.ssh/config
debug: Applying options for alph01
debug: Applying options for *
debug: Reading configuration data /home/jennings/ssh/etc/ssh_config
debug: Rhosts Authentication disabled, originating port will not be
trusted.
debug: ssh_connect: getuid 278 geteuid 278 anon 1
debug: Connecting to alph01 [142.90.114.17] port 22.
debug: Connection established.
debug: identity file /home/jennings/keys/theory_dsa type 3
debug: identity file /home/jennings/keys/user_dsa type 3
debug: Remote protocol version 1.99, remote software version
OpenSSH_2.5.1p1
debug: match: OpenSSH_2.5.1p1 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug: Local version string SSH-2.0-OpenSSH_2.5.1p1
debug: Seeding random number generator
debug: send KEXINIT
debug: done
debug: wait KEXINIT
debug: got kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug: got kexinit: ssh-dss,ssh-rsa
debug: got kexinit:
3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijn
dael256-cbc,rijndael-cbc at lysator.liu.se
debug: got kexinit:
3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijn
dael256-cbc,rijndael-cbc at lysator.liu.se
debug: got kexinit:
hmac-sha1,hmac-md5,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug: got kexinit:
hmac-sha1,hmac-md5,hmac-ripemd160,hmac-ripemd160 at openssh.com,hmac-sha1-96,hmac-md5-96
debug: got kexinit: none,zlib
debug: got kexinit: none,zlib
debug: got kexinit:
debug: got kexinit:
debug: first kex follow: 0
debug: reserved: 0
debug: done
debug: mac_init: found hmac-sha1
debug: kex: server->client blowfish-cbc hmac-sha1 none
debug: mac_init: found hmac-sha1
debug: kex: client->server blowfish-cbc hmac-sha1 none
debug: Sending SSH2_MSG_KEX_DH_GEX_REQUEST.
debug: Wait SSH2_MSG_KEX_DH_GEX_GROUP.
debug: Got SSH2_MSG_KEX_DH_GEX_GROUP.
debug: bits set: 1032/2049
debug: Sending SSH2_MSG_KEX_DH_GEX_INIT.
debug: Wait SSH2_MSG_KEX_DH_GEX_REPLY.
debug: Got SSH2_MSG_KEXDH_REPLY.
debug: Host 'alph01' is known and matches the RSA host key.
debug: Found key in /home/jennings/.ssh/known_hosts2:48
debug: bits set: 1003/2049
debug: ssh_rsa_verify: signature correct
debug: Wait SSH2_MSG_NEWKEYS.
debug: GOT SSH2_MSG_NEWKEYS.
debug: send SSH2_MSG_NEWKEYS.
debug: done: send SSH2_MSG_NEWKEYS.
debug: done: KEX2.
debug: send SSH2_MSG_SERVICE_REQUEST
debug: service_accept: ssh-userauth
debug: got SSH2_MSG_SERVICE_ACCEPT
debug: authentications that can continue:
publickey,password,keyboard-interactive
debug: next auth method to try is publickey
debug: userauth_pubkey_agent: trying agent key keys/user_dsa
debug: we sent a publickey packet, wait for reply
debug: ssh-userauth2 successful: method publickey
debug: fd 4 setting O_NONBLOCK
debug: fd 5 IS O_NONBLOCK
debug: channel 0: new [client-session]
debug: send channel open 0
debug: Entering interactive session.
debug: callback start
debug: client_init id 0 arg 0
debug: Sending subsystem: sftp
debug: callback done
debug: channel 0: open confirm rwindow 0 rmax 16384
debug: channel 0: rcvd adjust 32768
debug: Remote version: 2
sftp> ls
debug: client_input_channel_req: channel 0 rtype exit-signal reply 0
debug: channel 0: rcvd eof
debug: channel 0: output open -> drain
debug: channel 0: rcvd close
debug: channel 0: input open -> closed
debug: channel 0: close_read
debug: channel 0: obuf empty
debug: channel 0: output drain -> closed
debug: channel 0: close_write
debug: channel 0: send close
debug: channel 0: full closed2
debug: channel_free: channel 0: status: The following connections are
open:
  #0 client-session (t4 r0 i8/0 o128/0 fd -1/-1)

debug: !channel_still_open.
debug: Transferred: stdin 0, stdout 0, stderr 0 bytes in 2.3 seconds
debug: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug: Exit status -1
Couldn't read packet: Bad file descriptor







More information about the openssh-unix-dev mailing list