probleme ssh suspendu

Page principale

Répondre à ce message
Auteur: Guillaume Allegre
Date:  
À: guilde
Sujet: probleme ssh suspendu
Salut la liste,

Depuis une quinzaine de jours, j'ai un problème curieux et très gênant
avec le service sshd de ma machine passerelle, "granduc" :
Quand je fais un slogin sur granduc, le terminal est suspendu : je suis
obligé de le fermer.

Si je fais un ssh, j'obtiens un message :
ssh_exchange_identification: Connection closed by remote host

Le pb est que je n'ai pas d'accès console sur cette machine : je suis
quasiment obligé de la rebooter.
Au reboot, tout marche à merveille : je n'ai pas à changer quoi que ce
soit dans la configuration pour pouvoir me reloguer.
Ca fait maintenant une petite dizaine de fois que je reboote en 2 semaines.

Je n'arrive pas à savoir d'où ça vient. Si vous avez des idées de cause
ou d'opérations supplémentaires pour le diagnostic, je suis preneur.

Distrib : Debian Sarge (testing)
noyau : 2.4.25
bibliothèques : OpenSSH_4.2p1 Debian-5, OpenSSL 0.9.8a



Ci-dessous les logs détaillés :

allegre@hulotte:~
$ slogin -v allegre@granduc
OpenSSH_4.2p1 Debian-5, OpenSSL 0.9.8a 11 Oct 2005
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to granduc [192.168.0.11] port 22.
debug1: Connection established.
debug1: identity file /home/allegre/.ssh/identity type -1
debug1: identity file /home/allegre/.ssh/id_rsa type -1
debug1: identity file /home/allegre/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.2p1 Debian-7
debug1: match: OpenSSH_4.2p1 Debian-7 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.2p1 Debian-5
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(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'granduc' is known and matches the RSA host key.
debug1: Found key in /home/allegre/.ssh/known_hosts:15
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/allegre/.ssh/identity
debug1: Trying private key: /home/allegre/.ssh/id_rsa
debug1: Offering public key: /home/allegre/.ssh/id_dsa
debug1: Server accepts key: pkalg ssh-dss blen 434
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.

(suspendu ; Ctrl-C et Ctrl-D inopérants)


En essayant avec ssh -v puis ssh -vvv :

allegre@hulotte:~
$ ssh -v allegre@granduc
OpenSSH_4.2p1 Debian-5, OpenSSL 0.9.8a 11 Oct 2005
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to granduc [192.168.0.11] port 22.
debug1: Connection established.
debug1: identity file /home/allegre/.ssh/identity type -1
debug1: identity file /home/allegre/.ssh/id_rsa type -1
debug1: identity file /home/allegre/.ssh/id_dsa type 2
ssh_exchange_identification: Connection closed by remote host
allegre@hulotte:~
$


$ ssh -vvv allegre@granduc
OpenSSH_4.2p1 Debian-5, OpenSSL 0.9.8a 11 Oct 2005
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to granduc [192.168.0.11] port 22.
debug1: Connection established.
debug1: identity file /home/allegre/.ssh/identity type -1
debug1: identity file /home/allegre/.ssh/id_rsa type -1
debug3: Not a RSA1 key file /home/allegre/.ssh/id_dsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /home/allegre/.ssh/id_dsa type 2
ssh_exchange_identification: Connection closed by remote host
allegre@hulotte:~
$


-- 
 ° /\    Guillaume Allègre                          SILECS   SARL
  /~~\/\  Guillaume.Allegre@???    Solutions Informatiques Libres
 /   /~~\  tél. 08.70.63.26.99                 http://www.silecs.info