Setting up SSH Key Authentication Between Servers

I always forget how to do this, so I have to look it up each time. This will make it easier the next time. It is so simple, just I always forget.

First, I need to generate my ssh pub and private keys on the host server: ssh-keygen

Second, I need to copy the pub key to the remote server: ssh-copy-id -i id_rsa.pub user@server.local

Then, that it! Now that I wrote it down, I won’t forget it… I hope.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close