Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2000 13:22:07 -0300 (ADT)
From:      David Bremner <bremner@unb.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: openssh incompatabilities
Message-ID:  <14835.5167.660736.290481@convex.cs.unb.ca>
In-Reply-To: <14833.59664.452666.592474@convex.cs.unb.ca>
References:  <14833.59664.452666.592474@convex.cs.unb.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

Filling in the missing details of my own message. 

David Bremner writes:
 > 
 > Ok, I just installed 4.1.1-Release, which has openssh-2.1(.1 ?) as
 > part of the base distribution.
 > 
 > I need to be able to interoperate with a server running
 > "SSH-2.0-2.2.0 SSH Secure Shell (non-commercial)"
 > 
 > and openssh-2.1 does not seem to do this all that well

detailed log at end.

 > (I can give more detailed complaints, but the response in 
 > the problem database was "Take it up  with openssh").
 > 

see http://www.freebsd.org/cgi/query-pr.cgi?pr=20018 

 > ok, fine, so I built openssh-2.2.0p1 from the tar file on openssh.com.
 > Now ssh works, but scp dies with
 > 
 > bremner@gaea.cs.unb.ca's password:
 > scp: warning: Executing scp1 compatibility.
 > select: Bad file descriptor
 > lost connection                         

detailed log at end

------------------------------------------------------------------
Log of ssh from openssh 2.1 -> ssh2.2.0

SSH Version OpenSSH-2.1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
debug: Reading configuration data /etc/ssh/ssh_config

debug: ssh_connect: getuid 0 geteuid 0 anon 0

debug: Connecting to gaea.cs.unb.ca [131.202.33.61] port 22.

debug: Allocated local port 1016.

debug: Connection established.

debug: Remote protocol version 2.0, remote software version 2.2.0 SSH Secure Shell (non-commercial)

Enabling compatibility mode for protocol 2.0

debug: Local version string SSH-2.0-OpenSSH-2.1

debug: send KEXINIT

debug: done

debug: wait KEXINIT

debug: got kexinit: diffie-hellman-group1-sha1

debug: got kexinit: ssh-dss

debug: got kexinit: 3des-cbc,blowfish-cbc,twofish-cbc,arcfour,3des-ecb,3des-cfb,3des-ofb,blowfish-ecb,blowfish-cfb,blowfish-ofb,des-ecb,des-cbc,des-cfb,des-ofb,twofish-ecb,twofish-cfb,twofish-ofb

debug: got kexinit: 3des-cbc,blowfish-cbc,twofish-cbc,arcfour,3des-ecb,3des-cfb,3des-ofb,blowfish-ecb,blowfish-cfb,blowfish-ofb,des-ecb,des-cbc,des-cfb,des-ofb,twofish-ecb,twofish-cfb,twofish-ofb

debug: got kexinit: hmac-sha1,hmac-md5,hmac-md5-96,hmac-sha1-96,hmac-ripemd160,hmac-ripemd160-96,sha1-8,sha1,md5-8,md5,ripemd160-8,ripemd160

debug: got kexinit: hmac-sha1,hmac-md5,hmac-md5-96,hmac-sha1-96,hmac-ripemd160,hmac-ripemd160-96,sha1-8,sha1,md5-8,md5,ripemd160-8,ripemd160

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: kex: server->client 3des-cbc hmac-sha1 none

debug: kex: client->server 3des-cbc hmac-sha1 none

debug: Sending SSH2_MSG_KEXDH_INIT.

debug: bits set: 505/1024

debug: Wait SSH2_MSG_KEXDH_REPLY.

debug: Got SSH2_MSG_KEXDH_REPLY.

debug: keytype ssh-dss

debug: keytype ssh-dss

debug: Host 'gaea.cs.unb.ca' is known and matches the DSA host key.

debug: bits set: 484/1024

debug: len 55 datafellows 0

debug: dsa_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

Disconnecting: Corrupted HMAC on input.

debug: Calling cleanup 0x805b5a4(0x0)

------------------------------------------------------------------
log of openssh 2.1 scp to ssh2.2
Executing: host gaea, user (unspecified), command scp -v -t .
SSH Version OpenSSH_2.2.0p1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
debug: Reading configuration data /usr/local/etc/ssh_config

debug: Seeding random number generator

debug: ssh_connect: getuid 0 geteuid 0 anon 0

debug: Connecting to gaea.cs.unb.ca [131.202.33.61] port 22.

debug: Allocated local port 1019.

debug: Connection established.

debug: Remote protocol version 2.0, remote software version 2.2.0 SSH Secure Shell (non-commercial)

datafellows: 2.2.0 SSH Secure Shell (non-commercial)

Enabling compatibility mode for protocol 2.0

debug: Local version string SSH-2.0-OpenSSH_2.2.0p1

debug: send KEXINIT

debug: done

debug: wait KEXINIT

debug: got kexinit: diffie-hellman-group1-sha1

debug: got kexinit: ssh-dss

debug: got kexinit: 3des-cbc,blowfish-cbc,twofish-cbc,arcfour,3des-ecb,3des-cfb,3des-ofb,blowfish-ecb,blowfish-cfb,blowfish-ofb,des-ecb,des-cbc,des-cfb,des-ofb,twofish-ecb,twofish-cfb,twofish-ofb

debug: got kexinit: 3des-cbc,blowfish-cbc,twofish-cbc,arcfour,3des-ecb,3des-cfb,3des-ofb,blowfish-ecb,blowfish-cfb,blowfish-ofb,des-ecb,des-cbc,des-cfb,des-ofb,twofish-ecb,twofish-cfb,twofish-ofb

debug: got kexinit: hmac-sha1,hmac-md5,hmac-md5-96,hmac-sha1-96,hmac-ripemd160,hmac-ripemd160-96,sha1-8,sha1,md5-8,md5,ripemd160-8,ripemd160

debug: got kexinit: hmac-sha1,hmac-md5,hmac-md5-96,hmac-sha1-96,hmac-ripemd160,hmac-ripemd160-96,sha1-8,sha1,md5-8,md5,ripemd160-8,ripemd160

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: kex: server->client 3des-cbc hmac-sha1 none

debug: kex: client->server 3des-cbc hmac-sha1 none

debug: Sending SSH2_MSG_KEXDH_INIT.

debug: bits set: 516/1024

debug: Wait SSH2_MSG_KEXDH_REPLY.

debug: Got SSH2_MSG_KEXDH_REPLY.

debug: Host 'gaea.cs.unb.ca' is known and matches the DSA host key.

debug: bits set: 537/1024

debug: len 55 datafellows 20

debug: dsa_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

debug: key does not exist: /home/bremner/.ssh/id_dsa

debug: ssh-userauth2 successfull

debug: fd 4 setting O_NONBLOCK

debug: fd 5 setting O_NONBLOCK

debug: fd 6 setting 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 command: scp -v -t .

debug: client_set_session_ident: id 0

debug: callback done

debug: channel 0: open confirm rwindow 10000 rmax 32768

debug: channel 0: rcvd ext data 58

scp: warning: Development-time debugging not compiled in.
debug: channel 0: written 58 to efd 6

debug: channel 0: rcvd ext data 70

debug: channel 0: rcvd ext data 44

debug: channel 0: rcvd ext data 91

debug: callback start

debug: client_input_channel_req: rtype exit-status reply 0

debug: callback done

debug: channel 0: rcvd close

debug: channel 0: output open -> drain

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)



select: Bad file descriptor

debug: Transferred: stdin 0, stdout 0, stderr 29 bytes in 0.3 seconds

debug: Bytes per second: stdin 0.0, stdout 0.0, stderr 101.8

debug: Exit status 255

lost connectionN'rzǧvf&j:+v "ryy笶*')w*z

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14835.5167.660736.290481>