Portál AbcLinuxu, 12. května 2024 03:59


Dotaz: ssh "Read from socket failed: Connection reset by peer"

30.5.2008 22:55 kubanec | skóre: 4
ssh "Read from socket failed: Connection reset by peer"
Přečteno: 924×
Odpovědět | Admin
zdravím všechny, mám problém s ssh, když se chcu přihlásit na jeden stroj z jiného počítače nebo napíšu ssh localhost dostanu tuhle chybovou hlášku : Read from socket failed: Connection reset by peer

nechal jsem si i vypsat debugovací informace :
OpenSSH_4.3p2 Debian-9etch2, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /home/kubanec/.ssh/identity type -1
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug2: key_type_from_name: unknown key type '-----END'
debug1: identity file /home/kubanec/.ssh/id_rsa type 1
debug1: identity file /home/kubanec/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3p2 Debian-9etch2
debug1: match: OpenSSH_4.3p2 Debian-9etch2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-9etch2
debug2: fd 3 setting O_NONBLOCK
debug1: Unspecified GSS failure.  Minor code may provide more information
No credentials cache found

debug1: Unspecified GSS failure.  Minor code may provide more information
No credentials cache found

debug1: Unspecified GSS failure.  Minor code may provide more information
No credentials cache found

debug1: Unspecified GSS failure.  Minor code may provide more information
Unknown code H 1

debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer


začlo to od poslední aktualizace, vyměnil jsem i klíče, ale myslím si že tady to v klíčích není protože se ani nezeptá jestli si chci přidat veřejný klíč a rovnou to zavře.
Debian etch 4.0
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

30.5.2008 23:46 kubanec | skóre: 4
Rozbalit Rozbalit vše Re: ssh "Read from socket failed: Connection reset by peer"
Odpovědět | | Sbalit | Link | Blokovat | Admin
Tak už jsem na to částečně přišel, server měl vygenerovaný klíč, který byl blacklistovaný, zkusil jsem přesunout pryč blacklist a už to funguje, ale ted nevim jak vygenerovat klič aby nebyl v blacklistu, ssh-keygen mi vytvoři klič který už je v blacklistu, chtěl bych to mět tak jak by to mělo byt =)
Debian etch 4.0
31.5.2008 00:21 kubanec | skóre: 4
Rozbalit Rozbalit vše Re: ssh "Read from socket failed: Connection reset by peer"
Tak už jsem to cely dořešil, nainstaloval jsem testing openssh-client, tam je fungující ssh-keygen
Debian etch 4.0

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.