Password-less SSH Login

ssh-copy-id moose@moosechips.com

If you get ERROR: No identities found, you need to create a ssh key. (Create one without a password when prompted.)

ssh-keygen -t rsa

Then run ssh-copy-id again.

If your remote user has a different login name, you can setup a ssh config file so it will use the right user name. Create a text file at ~/.ssh/config with

Host moosechips.com
  User moose

Now you can login via ssh

ssh moosechips.com
This entry was posted in <linux>. Bookmark the permalink.
<RSS Feed>