I want to setup public key auth (where I have to setup a public key in putty) and regular password authentication on top of it, but force public key, so that you need both to log in, and not just one or the other.
All the sites I've read only show how to generate the keys and don't talk about the actual sshd config changes that I'd have to make to do this.
Also I want each user to have their own key pair.
So how do I go about doing this?
As an alternative, is there an easy way to block brute force attacks? I find it retarded that this is not built in. It should be standard in ANY password authentication mechanism. I don't get why nobody uses this, like even big MMORPGs don't. Accounts get hacked all the time because of brute force. 3 attempts, block IP for 30 minutes, that simple...
All the sites I've read only show how to generate the keys and don't talk about the actual sshd config changes that I'd have to make to do this.
Also I want each user to have their own key pair.
So how do I go about doing this?
As an alternative, is there an easy way to block brute force attacks? I find it retarded that this is not built in. It should be standard in ANY password authentication mechanism. I don't get why nobody uses this, like even big MMORPGs don't. Accounts get hacked all the time because of brute force. 3 attempts, block IP for 30 minutes, that simple...