Last active
June 1, 2018 08:58
-
-
Save nmyers/7e058c81c4e3d89ca96527b9d219c562 to your computer and use it in GitHub Desktop.
Adding local ssh key to authorized key on a remote server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat ~/.ssh/id_rsa.pub | ssh [email protected] 'cat >> .ssh/authorized_keys' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment