I have a couple of servers that I connect to via SSH, and I am trying to configure all of them to work passwordless. I initially tried to setup passwordless SSH on my DreamHost account (following the SSH entry on the DH Wiki), and just had a general question to those who may know the answer.
On my Mac, I did the ‘ssh-keygen -t rsa’ and instead of using id_rsa as the filename, I decided to give it a more descriptive name, like dreamhost (to let me know which server the keyfile was for). I continued and copied dreamhost.pub to the DH server, and appended/replaced the authorized_keys file. (I kept the original dreamhost file in my local .ssh folder on my Mac)
Something strange was, that this did not work. I repeated the instructions identically, and this time I used the default name id_rsa and id_rsa.pub. It worked.
My question is, why do you have to use id_rsa as the file name to store your key, and if this is the filename required, how can you configure your machine to have several passwordless SSH logins?
Out of curiosity, I deleted the authorized_key file as well as everything in my local .ssh folder on my Mac. I tried it again using my username (wwebb/wwebb.pub) with no luck. Going back and using id_rsa, it worked!
Can anyone tell me what I might be doing wrong with this? Thanks!