For a long time, I was baffled by why ssh command was asking for a password sometimes, and sometimes not. Even when I was using the same private/public key pair on many different clusters, I was sometimes getting asked for a password, and sometimes I was not.
Today I tried accessing a cluster that normally requires a password when I try to ssh into it. Normally, to access the cluster I do
ssh <ip address>. Today, I did
ssh <username>@<ip address> to get in, and it did not ask me for a password!
And, it hasn't asked me for a password since then. This is strange...why does just providing the username cause it to not prompt me for a password anymore? or is there something else that I'm missing that might have changed this?
I checked the permissions on the
~/.ssh directory and everything looks correct there....what other things to check?