You are here

ssh passwordless login v2

as time goes on, we learn new ways of doing old things. in this particular instance, the old way was documented here as ssh user equivalence . its a good thing to learn new ways, because this time, i found an easier way, a faster way and a shorter way. plus it can be scripted even.

so here it is 

ssh-keygen -t dsa -P ”” -f /home/$USER/.ssh/id_dsa
ssh-copy-id -i ~/.ssh/id_dsa.pub HOSTNAME