[Nelug] ssh problem

Douglas Nisbet dougie at highmoor.co.uk
Thu Oct 26 18:44:01 UTC 2006


ssh is a bit of a black art to me. I've just built a new box and I can 
telnet to it, but ssh.

This is the tail-end of the command:
    ssh -ddd pulse

    o
    o
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /root/.ssh/id_rsa type 1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version 
OpenSSH_3.8.1p1 Debian-8.sarge.4
debug1: match: OpenSSH_3.8.1p1 Debian-8.sarge.4 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.4
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer
root at nick:~#


And here's the corresponding output from the destination box:
root at pulse:/etc/network# sshd -ddd
debug2: read_server_config: filename /etc/ssh/sshd_config
debug1: sshd version OpenSSH_3.8.1p1 Debian-8.sarge.4
debug3: Not a RSA1 key file /etc/ssh/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug3: Not a RSA1 key file /etc/ssh/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
socket: Address family not supported by protocol
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
debug1: Server will not fork when running in debugging mode.
Connection from 192.168.1.9 port 52260
debug1: Client protocol version 2.0; client software version 
OpenSSH_3.8.1p1 Debian-8.sarge.4
debug1: match: OpenSSH_3.8.1p1 Debian-8.sarge.4 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.4
monitor_socketpair: socketpair
debug1: do_cleanup
debug1: PAM: cleanup
debug3: PAM: sshpam_thread_cleanup entering
root at pulse:/etc/network#

'pulse' pauses at the line:
Server listening on 0.0.0.0 port 22.
until I run ssh -ddd pulse on 'nick'. Then pulse shows some output and 
exits.

This is debian stable running a backport kernel (2.6.17) on both boxes.





More information about the Nelug mailing list