Léa-Linux & amis :   LinuxFR   GCU-Squad   GNU
Probleme SSH
Envoyé par: soufiane

Bonjour,

Me voila avec un souci particulierement bizar...
alors j'ai un parc de machine en redhat, debian et openbsd
Quand je me connecte en ssh de debian -> openbsd no problem
Quand je me connecte en ssh de redhat -> openbsd yes problem

cela avec plusieurs machines redhat.
mon ssh -v user@IPserveropenbsd d'une debian

admdsiads@marite:~$ ssh -v admdsiads@172.17.7.132
OpenSSH_4.3p2 Debian-9, OpenSSL 0.9.8c 05 Sep 2006
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 172.17.7.132 [172.17.7.132] port 22.
debug1: Connection established.
debug1: identity file /home/admdsiads/.ssh/identity type -1
debug1: identity file /home/admdsiads/.ssh/id_rsa type -1
debug1: identity file /home/admdsiads/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.7
debug1: match: OpenSSH_4.7 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-9
debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
A parameter was malformed
Validation error

debug1: An invalid name was supplied
Cannot determine realm for numeric host address

debug1: An invalid name was supplied
A parameter was malformed
Validation error

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 '172.17.7.132' is known and matches the RSA host key.
debug1: Found key in /home/admdsiads/.ssh/known_hosts:1
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,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/admdsiads/.ssh/identity
debug1: Trying private key: /home/admdsiads/.ssh/id_rsa
debug1: Trying private key: /home/admdsiads/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
admdsiads@172.17.7.132's password:


et d'une red hat
-bash-2.05b$ ssh -v admdsiads@172.17.7.132
OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.7d 17 Mar 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 172.17.7.132 [172.17.7.132] port 22.
debug1: Connection established.
debug1: identity file /home/admdsiads/.ssh/identity type -1
debug1: identity file /home/admdsiads/.ssh/id_rsa type -1
debug1: identity file /home/admdsiads/.ssh/id_dsa type 2
debug1: Remote protocol version 1.99, remote software version OpenSSH_4.7
debug1: match: OpenSSH_4.7 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.7.1p2
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer
debug1: Calling cleanup 0x80600e4(0x0)



Poste le Tuesday 18 November 2008 16:45:33
Répondre     Citer    
Re: Probleme SSH
Envoyé par: soufiane

petite précision avec tcpdum

root@william root]# tcpdump -vvti eth0 host 172.17.7.132

tcpdump: listening on eth0

william.45473 > 172.17.7.132.ssh: S [tcp sum ok] 305942607:305942607(0) win 5840 <mss 1460,sackOK,timestamp 2989702618 0,nop,wscale 0> (DF) (ttl 64, id 28053, len 60)

172.17.7.132.ssh > william.45473: S [tcp sum ok] 3274585379:3274585379(0) ack 305942608 win 16384 <mss 1460,nop,nop,sackOK,nop,wscale 0,nop,nop,timestamp 3015946887 2989702618> (DF) (ttl 61, id 65523, len 64)

william.45473 > 172.17.7.132.ssh: . [tcp sum ok] 1:1(0) ack 1 win 5840 <nop,nop,timestamp 2989702618 3015946887> (DF) (ttl 64, id 28054, len 52)

172.17.7.132.ssh > william.45473: P [tcp sum ok] 1:22(21) ack 1 win 17376 <nop,nop,timestamp 3015946887 0> (DF) (ttl 61, id 44672, len 73)

william.45473 > 172.17.7.132.ssh: . [tcp sum ok] 1:1(0) ack 22 win 5840 <nop,nop,timestamp 2989702620 3015946887> (DF) (ttl 64, id 28055, len 52)

william.45473 > 172.17.7.132.ssh: P [bad tcp cksum ebc4!] 1:25(24) ack 22 win 5840 <nop,nop,timestamp 2989702620 3015946887> (DF) (ttl 64, id 28056, len 76)

william.45473 > 172.17.7.132.ssh: P [bad tcp cksum cec4!] 1:25(24) ack 22 win 5840 <nop,nop,timestamp 2989702649 3015946887> (DF) (ttl 64, id 28057, len 76)

william.45473 > 172.17.7.132.ssh: P [bad tcp cksum 94c4!] 1:25(24) ack 22 win 5840 <nop,nop,timestamp 2989702707 3015946887> (DF) (ttl 64, id 28058, len 76)

william.45473 > 172.17.7.132.ssh: P [bad tcp cksum 20c4!] 1:25(24) ack 22 win 5840 <nop,nop,timestamp 2989702823 3015946887> (DF) (ttl 64, id 28059, len 76)

william.45473 > 172.17.7.132.ssh: P [bad tcp cksum 38c3!] 1:25(24) ack 22 win 5840 <nop,nop,timestamp 2989703055 3015946887> (DF) (ttl 64, id 28060, len 76)

william.45473 > 172.17.7.132.ssh: P [bad tcp cksum 68c1!] 1:25(24) ack 22 win 5840 <nop,nop,timestamp 2989703519 3015946887> (DF) (ttl 64, id 28061, len 76)

william.45473 > 172.17.7.132.ssh: P [bad tcp cksum c8bd!] 1:25(24) ack 22 win 5840 <nop,nop,timestamp 2989704447 3015946887> (DF) (ttl 64, id 28062, len 76)





Poste le Tuesday 18 November 2008 16:55:17
Répondre     Citer    

Veuillez vous authentifier auparavant pour commenter.

 

Ce forum !
Probleme SSH
Un problème avec une commande du shell ? Comment utiliser la crontab ? Vous avez des soucis pour la gestion réseau sous Linux ? Pour vous la gestion des utilisateurs/groupes est du chinois ? Etc... Posez donc vos questions ici.

Sauf mention contraire, les documentations publiées sont sous licence Creative-Commons