SSH Protocol mismatch

CryBaby guitar at jazzcafe.no-ip.org
Sat Jan 15 13:51:53 PST 2005


Peter Jeremy wrote:
> What has changed (both on FreeBSD and WinXP) since it last worked?
I had try to ssh on Windows(Putty), Linux(sshd) and ssh on the Lan, Wan, and I
got the same result.
So, I think problem is due to my sshd host.

> Have you tried running sshd in a debug mode and looking at what it reports?
> eg "sshd -d -p 8022" and then ssh to port 8022.  Use up to 3 d's for more
> detail.  I'm not sure if PuTTY has anything equivalent to 'ssh -v' but if
> so, have you tried looking at what it reports?
my try is following:

1.  [root]/# sshd -d -p 8022
    debug1: sshd version OpenSSH_3.5p1 FreeBSD-20030924
    debug1: private host key: #0 type 0 RSA1
    debug1: read PEM private key done: type DSA
    debug1: private host key: #1 type 2 DSA
    debug1: Bind to port 8022 on ::.
    Server listening on :: port 8022.
    debug1: Bind to port 8022 on 0.0.0.0.
    Server listening on 0.0.0.0 port 8022.
    Generating 768 bit RSA key.
    RSA key generation complete.
2.  Connect by Putty in WinXP on the Lan
3.  <<Debug Message:>>
    debug1: Server will not fork when running in debugging mode.
    debug1: res_init()
    Connection from 192.168.0.222 port 4411
    debug1: Client protocol version 1.5; client software version PuTTY-Release-0.53b
    debug1: no match: PuTTY-Release-0.53b
    debug1: Local version string SSH-1.99-OpenSSH_3.5p1 FreeBSD-20030924
    debug1: permanently_set_uid: 22/22
    debug1: Sent 768 bit server key and 1024 bit host key.
    debug1: Encryption type: blowfish
    debug1: Received session key; encryption turned on.
    debug1: Installing crc compensation attack detector.
    debug1: PAM: initializing for "der"
    debug1: Attempting authentication for der.
    PAM: initialisation failed
    debug1: Calling cleanup 0x804da74(0x0)

Thanks for answer. : )





---
CryBaby <mailinglist at ms94.url.com.tw>



More information about the freebsd-stable mailing list