I have a strange situation going on. I have three computers, one laptop and two desktops. I need to connect, from the laptop, to the desktops, using ssh. So, I am trying to set up ssh with public key authentication (dsa).
I created the keypair using ssh-keygen. This created files in ~/.ssh: id_dsa and id_dsa.pub.
I copied id_dsa.pub to the file ~/.ssh/authorized_keys on both desktops.
I can now connect to one of the computers using the dsa keypair, but the other computer does not accept it.
I cannot figure out why this is the case, as sshd is configured the same way on both desktops.