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

Re: Seltsames Verhalten von ssh-client



Am Wed, 06 Oct 2010 15:40:02 +0200
schrieb Sebastian Humenda <shumenda@gmx.de>:

> Hallo,
> 
> auf meiner Debian Squeeze Kiste kann ich auf tty1 keine
> ssh-Verbindungen aufbauen, auf tty2 schon. Ausführliche Fehlermeldung
> angehängt. Er kann /dev/tty nicht öffnen.
> % read foo /dev/tty
> funktioniert hingegen. Google habe ich auch bereits mit der
> Fehlermeldung gefüttert, die Leute dort hatten scheinbar ein anderes
> Problem. Kann sich jemand einen Reim darauf machen?
> 
> % ls -l /dev/tty
> crw-rw-rw- 1 root root 5. 0 6. Okt 15:20 /dev/tty
> 
> Debian Squeeze, 2.6.32-5-686, openssh-client.
> 
> Danke
> Gruß
> Sebastian
> ===ssh 192.168.20.20 -p 2200 -vv===
> OpenSSH_5.5p1 Debian-4, OpenSSL 0.9.8o 01 Jun 2010
> debug1: Reading configuration data /etc/ssh/ssh_config
> 
> debug1: Applying options for *
> 
> debug2: ssh_connect: needpriv 0
> 
> debug1: Connecting to 192.168.20.20 [192.168.20.20] port 2200.
> 
> debug1: Connection established.
> 
> debug1: identity file /home/streicher/.ssh/id_rsa type -1
> 
> debug1: identity file /home/streicher/.ssh/id_rsa-cert type -1
> 
> debug1: identity file /home/streicher/.ssh/id_dsa type -1
> 
> debug1: identity file /home/streicher/.ssh/id_dsa-cert type -1
> 
> debug1: Remote protocol version 2.0, remote software version
> OpenSSH_5.5p1 Debian-4
> 
> debug1: match: OpenSSH_5.5p1 Debian-4 pat OpenSSH*
> 
> debug1: Enabling compatibility mode for protocol 2.0
> 
> debug1: Local version string SSH-2.0-OpenSSH_5.5p1 Debian-4
> 
> debug2: fd 3 setting O_NONBLOCK
> 
> debug1: SSH2_MSG_KEXINIT sent
> 
> debug1: SSH2_MSG_KEXINIT received
> 
> debug2: kex_parse_kexinit:
> diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> 
> debug2: kex_parse_kexinit:
> ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-rsa,ssh-dss
> 
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
> 
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
> 
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
> 
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
> 
> debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
> 
> debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
> 
> debug2: kex_parse_kexinit: 
> 
> debug2: kex_parse_kexinit: 
> 
> debug2: kex_parse_kexinit: first_kex_follows 0 
> 
> debug2: kex_parse_kexinit: reserved 0 
> 
> debug2: kex_parse_kexinit:
> diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> 
> debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
> 
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
> 
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
> 
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
> 
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
> 
> debug2: kex_parse_kexinit: none,zlib@openssh.com
> 
> debug2: kex_parse_kexinit: none,zlib@openssh.com
> 
> debug2: kex_parse_kexinit: 
> 
> debug2: kex_parse_kexinit: 
> 
> debug2: kex_parse_kexinit: first_kex_follows 0 
> 
> debug2: kex_parse_kexinit: reserved 0 
> 
> debug2: mac_setup: found hmac-md5
> 
> debug1: kex: server->client aes128-ctr hmac-md5 none
> 
> debug2: mac_setup: found hmac-md5
> 
> debug1: kex: client->server aes128-ctr hmac-md5 none
> 
> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
> 
> debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
> 
> debug2: dh_gen_key: priv key bits set: 133/256
> 
> debug2: bits set: 520/1024
> 
> debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
> 
> debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
> 
> debug1: Host '[192.168.20.20]:2200' is known and matches the RSA host
> key.
> 
> debug1: Found key in /home/streicher/.ssh/known_hosts:2
> 
> debug2: bits set: 498/1024
> 
> debug1: ssh_rsa_verify: signature correct
> 
> debug2: kex_derive_keys
> 
> debug2: set_newkeys: mode 1
> 
> debug1: SSH2_MSG_NEWKEYS sent
> 
> debug1: expecting SSH2_MSG_NEWKEYS
> 
> debug2: set_newkeys: mode 0
> 
> debug1: SSH2_MSG_NEWKEYS received
> 
> debug1: Roaming not allowed by server
> 
> debug1: SSH2_MSG_SERVICE_REQUEST sent
> 
> debug2: service_accept: ssh-userauth
> 
> debug1: SSH2_MSG_SERVICE_ACCEPT received
> 
> debug2: key: /home/streicher/.ssh/id_rsa ((nil))
> 
> debug2: key: /home/streicher/.ssh/id_dsa ((nil))
> 
> debug1: Authentications that can continue: publickey,password
> 
> debug1: Next authentication method: publickey
> 
> debug1: Trying private key: /home/streicher/.ssh/id_rsa
> 
> debug1: Trying private key: /home/streicher/.ssh/id_dsa
> 
> debug2: we did not send a packet, disable method
> 
> debug1: Next authentication method: password
> 
> debug1: read_passphrase: can't open /dev/tty: No such device or
> address
> 
> debug2: we sent a password packet, wait for reply
> 
> debug1: Authentications that can continue: publickey,password
> 
> Permission denied, please try again.
> 
> debug1: read_passphrase: can't open /dev/tty: No such device or
> address
> 
> debug2: we sent a password packet, wait for reply
> 
> debug1: Authentications that can continue: publickey,password
> 
> Permission denied, please try again.
> 
> debug1: read_passphrase: can't open /dev/tty: No such device or
> address
> 
> debug2: we sent a password packet, wait for reply
> 
> debug1: Authentications that can continue: publickey,password
> 
> debug2: we did not send a packet, disable method
> 
> debug1: No more authentication methods to try.
> 
> Permission denied (publickey,password).
> 

sieht nach nem Schlüssel Problem aus, was steht in der ssh_config?

Gruß Micha


Reply to: