I’ve been authenticating to the Dreamhost shell with a public key for months now, and it is really convenient not to enter your password every time you get kicked off your flaky connection.
Unfortunately, while moving some folders around (which shouldn’t have had any effect on this, but who knows), I broke something. Since that time, I have been unable to authenticate with my key and forced to use my password.
Putty says “Server refused our key”.
The usual suspects (which I found on Google) are ruled out:
- ~/.ssh and ~/.ssh/authorized_keys are both 700 and owned by my user (I’ve also tried setting them to 755 just in case);
- I have generated a new key several times (PuttyGen) and variously pasted the OpenSSH public key directly into authorized_keys, uploaded the normal public key file and then used ssh_keygen -i -f on the server,
- replaced authorized_keys with an entirely new file,
- even generated a keypair on the server and then downloaded the private key.
None of these have worked, and I am stumped…