SSH logins without password

Nothing new, just a little note to self about how easy this is:

  1. Generate your key pair (once):
    > ssh-keygen [Enter] [Enter] [Enter]
  2. Transfer the public key to remote ssh hosts (once per host)
    > ssh-copy-id user@remote-host
  3. And then just do this (every time you want to log in)
    > ssh user@remote-host

Leave a comment