rjp wrote:
If you use only RSA keys, and disallow password authentication, sshd should simply drop the connection if a key isn't presented.
ashen wrote:
I've tried setting PasswordAuthentication to no in sshd_config,
but that prevents all my users logging in that way too, which
is not what I want.
saman007uk wrote:
I don't believe thats possible under SSH - you can have SSH not accepting the password and not "logging in" (even if the password is correct) - but not that.

- oh well, at least I know now why I couldn't find a way to get it to do that.
saman007uk wrote:
Make SSH listen to a different port, so you won't get as many dictionary-attacks.
Good idea...... I might try that if the dictionary attacks keep annoying me.
Thanks
