Create SSH key for Hostgator to log in without password

  1. Local machine: ssh-keygen -t rsa
  2. Press <ENTER> for paraphrase and name it something like ~/.ssh/<othersiteusername>
  3. Local machine: ssh-copy-id -i ~/.ssh/newarkologic.pub <othersiteusername>@siteIP
  4. Remote machine: 
chmod go-w ~/
chmod 700 ~/.ssh 
chmod 600 ~/.ssh/authorized_keys 

http://superuser.com/questions/187779/too-many-authentication-failures-for-username
http://serverfault.com/questions/431046/why-cant-i-ssh-into-my-server-using-my-private-key