[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ssh connection problem "Read from socket failed:..."



I recentrly felt need of more space for /var directory. I copied /var
onto a new partition with "cp -Rp /var /new/partition".

My existing ssh connection remained functional but today morning I can
not login via ssh to that machine anymore.  

Do you think it is an ownership/rights problem? I thought, I was on the
safe side when using "-p" option of cp.

2 detailed messages are give below:

realos@isw302:~$ ssh -v  -l user2 kolab
OpenSSH_3.8.1p1 Debian-8.sarge.4, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to kolab [192.168.1.52] port 22.
debug1: Connection established.
debug1: identity file /home/realos/.ssh/identity type -1
debug1: identity file /home/realos/.ssh/id_rsa type 1
debug1: identity file /home/realos/.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

realos@isw302:~$ ssh -vvv  -l user2 kolab
OpenSSH_3.8.1p1 Debian-8.sarge.4, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to kolab [192.168.1.52] port 22.
debug1: Connection established.
debug1: identity file /home/realos/.ssh/identity type -1
debug3: Not a RSA1 key file /home/realos/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type 'Proc-Type:'
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type 'DEK-Info:'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /home/realos/.ssh/id_rsa type 1
debug1: identity file /home/realos/.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


-- 
Realos



Reply to: