Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ssh] pas de connexions suite à un update (Résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
SlashRhumSlashNeisson
Apprentice
Apprentice


Joined: 30 Dec 2006
Posts: 200
Location: Lille

PostPosted: Fri Oct 31, 2008 4:40 am    Post subject: [ssh] pas de connexions suite à un update (Résolu) Reply with quote

Salut à tous,

suite à une mise à jour d'openssh

Code:

[I] net-misc/openssh
     Available versions:  4.4_p1-r6 4.5_p1-r2 ~4.6_p1-r4 4.7_p1-r6 ~4.7_p1-r20 ~5.0_p1-r1 ~5.0_p1-r2 ~5.1_p1 5.1_p1-r1 {X X509 chroot hpn kerberos ldap libedit pam selinux skey smartcard static tcpd}
     Installed versions:  5.1_p1-r1(08:03:55 30.10.2008)(X kerberos ldap pam tcpd -X509 -hpn -libedit -selinux -skey -smartcard -static)
     Homepage:            http://www.openssh.org/
     Description:         Port of OpenBSD's free SSH release


Je n'arrive plus à me connecter sur les 2 machines de mon LAN :roll:

Le type de connexion ssh que j'utilise est l'authentification par clé et celà sur les 2 machines.

Le message du serverssh lors de la connexion est le suivant:

Code:
Received disconnect from xx.xx.xx.xx: 2: Too many authentication failures for monuser
:evil:

Mon sshd_config (sur l'un des server ssh) :

Code:

Port xxxxx
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
AllowUsers monuser
MaxAuthTries 0
LoginGraceTime 30
PermitRootLogin no
StrictModes yes
PubkeyAuthentication yes
AuthorizedKeysFile      .ssh/authorized_keys
PermitEmptyPasswords no
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
MaxStartups 1
Subsystem sftp /usr/lib/openssh/sftp-server


J'ai effectué quelques recherches, mais sans succès :idea:
_________________
Gentoo only


Last edited by SlashRhumSlashNeisson on Fri Oct 31, 2008 11:46 am; edited 1 time in total
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Fri Oct 31, 2008 7:36 am    Post subject: Reply with quote

Code:
MaxAuthTries 0

Faudrait ptêt laisser au moins un essai d'auth :)
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Fri Oct 31, 2008 11:12 am    Post subject: Reply with quote

Augmente également le MaxStartups. De mémoire, j'avais également eu ce problème avec 1 comme valeur.
_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
SlashRhumSlashNeisson
Apprentice
Apprentice


Joined: 30 Dec 2006
Posts: 200
Location: Lille

PostPosted: Fri Oct 31, 2008 11:54 am    Post subject: Reply with quote

Merci de vos réponses,

Après modification de mon sshd_config:

Code:
MaxAuthTries 1
:wink:

La connexion ssh est OK :wink:

Ce qui est bizarre c'est que celà n'affectait pas la version 4.7_p1-r6. :roll:

Le principal c'est que je puisse de nouveau accéder à mon server :D
_________________
Gentoo only
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum