Last active
February 2, 2016 06:23
-
-
Save vko-online/a292c6b423b52bfed16d to your computer and use it in GitHub Desktop.
Copy your id_rsa.pub to remove machine so that you don't need to type password everytime
This file contains hidden or 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] "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys" | |
//where user is username, 1.1.1.1 is your ip-address |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment