Am Donnerstag, 27. Juni 2002 16:04 schrieb Andreas Syska: > Hallo Liste, > > ich habe ein weniger nettes Problem: > Gestern habe ich erfolgreich die Kartoffel-Pakete > für OpenSSH-3.3 installiert, geprüft gewechselt. > Der neue Daemon lief am Mittag einwandfrei. > Mit Schlepptop im Bett habe ich am Abend > noch am Server gewerkelt. Plotzlich stützte > Putty ab und ich dachte - passt schon, > Zeit zum schlafen. > > Nun habe wird die Verbindung vom Server bei jedem > Aufbauversuch direkt beendet - und ich hab keine > Ahnung woran es liegen könnte. /etc/hosts.allow und > .deny wurden nicht geändert (nicht von mir ;-) > > Eine gesprächige Ausgabe eines Verbindungsversuch > sieht wie folt aus: > > ################################################### > slupp@mail:~> ssh -v -v 23.42.23.42 -l moeppel > OpenSSH_3.0.2p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f ^^^^^^ bist Du Dir sicher mit 3.3 sieh unten > debug1: Reading configuration data /etc/ssh/ssh_config > debug1: Applying options for * > debug1: Seeding random number generator > debug1: Rhosts Authentication disabled, originating port will not be > trusted. debug1: restore_uid > debug1: ssh_connect: getuid 500 geteuid 0 anon 1 > debug1: Connecting to 23.42.23.42 [23.42.23.42] port 22. > debug1: temporarily_use_uid: 500/100 (e=0) > debug1: restore_uid > debug1: temporarily_use_uid: 500/100 (e=0) > debug1: restore_uid > debug1: Connection established. > debug1: read PEM private key done: type DSA > debug1: read PEM private key done: type RSA > debug1: identity file /home/slupp/.ssh/identity type -1 > debug1: identity file /home/slupp/.ssh/id_rsa type -1 > debug1: identity file /home/slupp/.ssh/id_dsa type -1 > debug1: Remote protocol version 2.0, remote software version > OpenSSH_3.3 Debian 1:3.3p1-0.0potato2 debug1: match: OpenSSH_3.3 ^^^^^^^^ > Debian 1:3.3p1-0.0potato2 pat ^OpenSSH Enabling compatibility mode > for protocol 2.0 > debug1: Local version string SSH-2.0-OpenSSH_3.0.2p1 ^^^^^^^^^^^ > debug1: SSH2_MSG_KEXINIT sent > Connection closed by 23.42.23.42 > debug1: Calling cleanup 0x80640b0(0x0) > ################################################### > > Hat jemand eine hilfreiche Idee? > Die Konsole lässt sich bei einem Server der bei einem > ISP steht leider nur schwer erreichen :-( > > Gruss aus DDorf, > Andreas
Ich vermute mal, Du hast keine keys generiert?! Ich habs nach ssh-Anleitung gemacht Unten steht mein log bei ssh über rsa-key protokol v2 Stefan OpenSSH_3.3 Debian 1:3.3p1-0.0woody4, SSH protocols 1.5/2.0, OpenSSL 0x0090603f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 debug1: Connecting to puck [192.168.22.100] port 22. debug1: Connection established. debug1: identity file /home/stk/.ssh/identity type -1 debug1: identity file /home/stk/.ssh/id_rsa type 1 debug1: identity file /home/stk/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0, remote software version OpenSSH_3.3 Debian 1:3.3p1-0.0woody4 debug1: match: OpenSSH_3.3 Debian 1:3.3p1-0.0woody4 pat OpenSSH* Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.3 Debian 1:3.3p1-0.0woody4 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: dh_gen_key: priv key bits set: 126/256 debug1: bits set: 1595/3191 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'puck' is known and matches the RSA host key. debug1: Found key in /home/stk/.ssh/known_hosts:1 debug1: bits set: 1578/3191 debug1: ssh_rsa_verify: signature correct debug1: kex_derive_keys debug1: newkeys: mode 1 debug1: SSH2_MSG_NEWKEYS sent debug1: waiting for SSH2_MSG_NEWKEYS debug1: newkeys: mode 0 debug1: SSH2_MSG_NEWKEYS received debug1: done: ssh_kex2. debug1: send SSH2_MSG_SERVICE_REQUEST debug1: service_accept: ssh-userauth debug1: got SSH2_MSG_SERVICE_ACCEPT debug1: authentications that can continue: publickey,password,keyboard-interactive debug1: next auth method to try is publickey debug1: try privkey: /home/stk/.ssh/identity debug1: try pubkey: /home/stk/.ssh/id_rsa debug1: input_userauth_pk_ok: pkalg ssh-rsa blen 149 lastkey 0x8088c00 hint 1 debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/home/stk/.ssh/id_rsa': -- (°> Stefan Keul <[EMAIL PROTECTED]> -(°) -(°) //\ Tach auch vonne Kohlenpott /\\ /\\ V_/_ _\_V _\_V -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)