PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : ssh error! Connection closed by IP



[MORD]Locutus
08.03.04, 20:51
Hallo,
ich hab mir einen SuSE-Server aufgesetzt!
Als ich den jetzt über ssh konfigurieren wollte bekam ich folgendes:


Locutus:/home/locutus # ssh 192.168.1.55
22571: Connection closed by 192.168.1.55

Das hat mich sehr verwundert! Das system ist frisch installiert und aufgesetzt! Hab an der ssh config nix verändert! Hab dann mal ssh -v gemacht und das hier bekommen:


Locutus:/home/locutus # ssh -v 192.168.1.55
OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090609f
22299: debug1: Reading configuration data /etc/ssh/ssh_config
22299: debug1: Applying options for *
22299: debug1: Rhosts Authentication disabled, originating port will not be trusted.
22299: debug1: ssh_connect: needpriv 0
22299: debug1: Connecting to 192.168.1.55 [192.168.1.55] port 22.
22299: debug1: Connection established.
22299: debug1: identity file /root/.ssh/identity type -1
22299: debug1: identity file /root/.ssh/id_rsa type -1
22299: debug1: identity file /root/.ssh/id_dsa type -1
22299: debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1
22299: debug1: match: OpenSSH_3.5p1 pat OpenSSH*
22299: debug1: Enabling compatibility mode for protocol 2.0
22299: debug1: Local version string SSH-2.0-OpenSSH_3.5p1
22299: debug1: SSH2_MSG_KEXINIT sent
22299: Connection closed by 192.168.1.55
22299: debug1: Calling cleanup 0x8068d70(0x0)

Ich hab auch keinen ssh key verwendet oder installiert (jedenfalls nicht das ich wüßte)!
Leider konnt mir die SUFU auch nicht helfen!

MfG
Locutus

[MORD]Locutus
08.03.04, 23:16
ich hab mal auf beiden rechnern haargenau das gleiche ssh installiert!
und es kommt der gleiche fehler!
locutus@Locutus:~> ssh -v -l user 192.168.1.55
OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090609f
32556: debug1: Reading configuration data /etc/ssh/ssh_config
32556: debug1: Applying options for *
32556: debug1: Rhosts Authentication disabled, originating port will not be trusted.
32556: debug1: ssh_connect: needpriv 0
32556: debug1: Connecting to 192.168.1.55 [192.168.1.55] port 22.
32556: debug1: Connection established.
32556: debug1: identity file /home/locutus/.ssh/identity type -1
32556: debug1: identity file /home/locutus/.ssh/id_rsa type -1
32556: debug1: identity file /home/locutus/.ssh/id_dsa type -1
32556: debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1
32556: debug1: match: OpenSSH_3.5p1 pat OpenSSH*
32556: debug1: Enabling compatibility mode for protocol 2.0
32556: debug1: Local version string SSH-2.0-OpenSSH_3.5p1
32556: debug1: SSH2_MSG_KEXINIT sent
32556: Connection closed by 192.168.1.55
32556: debug1: Calling cleanup 0x8068d70(0x0)

[MORD]Locutus
09.03.04, 08:44
so, es klappt!
die berechtigungen für die standart ssh keys waren zu "lasch"! Ich hatte ein read bei gruppe (gruppe war root)! Das hat dem server gereicht um die ssh keys als zu "offen" zu deklarieren und dann zu ignorieren!
Trotzdem danke!
Locutus