Hi,
I have two machines;
Code:
kristijan@slackware:~$ ssh -V
OpenSSH_4.3p1, OpenSSL 0.9.7e 25 Oct 2004
kristijan@netbsd:~$ ssh -V
OpenSSH_3.9 NetBSD_Secure_Shell-20050213, OpenSSL 0.9.7d 17 Mar 2004
Now on my NetBSD machine, I have set MaxAuthTries to 0. This box is also visible to the outside world, so that's why I've set it at 0 (Get it incorrect the first time and your out).
Now here is where my problem begins:
Code:
kristijan@slackware:~$ ssh netbsd
Received disconnect from 192.168.0.10: 2: Too many authentication failures for kristijan
However, when I change the MaxAuthTries from 0 to 1 I have no problem. From my Windows box connecting to netbsd via PuTTy I have no issue - I get a user/pass prompt.
So basically;
Slackware -> NetBSD | AUTH FAILURE
Windows -> NetBSD | USER/PASS PROMPT
I know that ssh will try to authenticate other ways (keys etc...) before presenting a password prompt, but should this be classed as a failed password attempt and therefor kicking me out of the NetBSD box?
Cheers,
-Kristijan