I'm having trouble with OpenSSH 3.1 on an OpenBSD 2.8 box. I apply the
patch (the second patch, date/time March 7 12:41 GMT) and I can't
connect to it from any other box using Version 1 protocols. I get this:
(collector1 is an OpenBSD 3.0 box running OpenSSH 3.1)
[kwhite at collector1 kwhite]$ ssh -1 -v scooby.local
OpenSSH_3.1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 1000 geteuid 0 anon 1
debug1: Connecting to scooby.local [172.16.1.110] port 22.
debug1: temporarily_use_uid: 1000/1000 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 1000/1000 (e=0)
debug1: restore_uid
debug1: Connection established.
debug1: read PEM private key done: type DSA
debug1: read PEM private key done: type RSA
debug1: identity file /home/kwhite/.ssh/identity type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.1
debug1: match: OpenSSH_3.1 pat OpenSSH*
debug1: Local version string SSH-1.5-OpenSSH_3.1
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Host 'scooby.local' is known and matches the RSA1 host key.
debug1: Found key in /home/kwhite/.ssh/known_hosts:12
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: cipher_init: set keylen (16 -> 32)
debug1: cipher_init: set keylen (16 -> 32)
debug1: Installing crc compensation attack detector.
Disconnecting: Corrupted check bytes on input.
debug1: Calling cleanup 0x1a504(0x0)
I tried a couple different ciphers, and got the same thing.
Any ideas? I got these warnings on compile, which kind of bothered me,
actually:
cc -O2 -DKRB4 -I/usr/include/kerberosIV -DAFS
-I/c/Work/Master-2.8/src/usr.bin/ssh/lib/.. -c
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c -o cipher.o
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c: In function
`ssh1_3des_init':
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c:268: warning:
assignment from incompatible pointer type
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c: In function
`ssh1_3des_cbc':
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c:297: warning:
assignment from incompatible pointer type
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c: In function
`ssh1_3des_cleanup':
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c:311: warning:
assignment from incompatible pointer type
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c: In function
`evp_ssh1_3des':
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c:328: warning:
assignment from incompatible pointer type
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c:329: warning:
assignment from incompatible pointer type
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c:330: warning:
assignment from incompatible pointer type
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c: In function
`evp_ssh1_bf':
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c:373: warning:
assignment from incompatible pointer type
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c:375: warning:
assignment from incompatible pointer type
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c: In function
`ssh_rijndael_init':
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c:394: warning:
assignment from incompatible pointer type
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c: In function
`ssh_rijndael_cbc':
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c:421: warning:
assignment from incompatible pointer type
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c: In function
`ssh_rijndael_cleanup':
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c:458: warning:
assignment from incompatible pointer type
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c: In function
`evp_rijndael':
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c:475: warning:
assignment from incompatible pointer type
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c:476: warning:
assignment from incompatible pointer type
/c/Work/Master-2.8/src/usr.bin/ssh/lib/../cipher.c:477: warning:
assignment from incompatible pointer type
Kevin