Copying your public key to a remote server

linux Dec 03, 2014

Copying your public key (usually ~/.ssh/ to your remote server makes it possible to login over ssh without needing to remember your password. All the authentication is taken care of between the remote machine and your local one using private/public keys.

On your local machine simply run the following command on one line in a terminal

cat ~/.ssh/ | ssh [email protected] "cat >> .ssh/authorized_keys"


Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.