Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: locus 25 Prosince 2011, 00:17:27
-
Zdravím,
podařilo se mi zaseknout ssh
root@locus:~# ssh 192.168.1.9
Read from socket failed: Connection reset by peer
Mohl by jste mě prosím někdo trošku nasměrovat?
Děkuji vám moc za vaše reakce.
-
nenapadá vás prosím někoho co by to ssh mohlo uzdravit?
-
Nemáte na tom vzdáleném počítači puštěný denyhosts?
-
jak to prosím mohu zjistit?
-
Zkoušel jsem ssh restartovat a toto jsme obdržel.
root@locus:/etc# /etc/init.d/ssh reload
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service ssh reload
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the reload(8) utility, e.g. reload ssh
-
tak ja už fakt nevim co je špatně
root@locus1:~/.ssh# ssh -vvv 192.168.1.9
OpenSSH_5.3p1 Debian-3ubuntu7, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.1.9 [192.168.1.9] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
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_5.3p1 Debian-3ubuntu7
debug1: match: OpenSSH_5.3p1 Debian-3ubuntu7 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu7
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug3: Wrote 792 bytes for a total of 831
Read from socket failed: Connection reset by peer
-
Tak jsme to kompletně odinstaloval to ssh a reboot a pak opět nainstaloval a nyní funguje v pořádku. Vyřešeno.
Děkuji všem moc za reakce.