# generate ssh keys for local (if not already done) $ ssh-keygen $ ssh-copy-id -i ~/.ssh/id_rsa.pub <remote-host> $ ssh <remote-host>
13 January 2017
To connect to a remote-host without password-entry (for scripting):
# generate ssh keys for local (if not already done) $ ssh-keygen $ ssh-copy-id -i ~/.ssh/id_rsa.pub <remote-host> $ ssh <remote-host>