Created
June 12, 2014 18:43
-
-
Save Sacristan/f108406b9c93d1b3028f to your computer and use it in GitHub Desktop.
deploy ssh key remotely
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
1. gem uninstall net-ssh | |
2. bundle install | |
3. sudo curl https://raw.githubusercontent.com/beautifulcode/ssh-copy-id-for-OSX/master/ssh-copy-id.sh -o /usr/local/bin/ssh-copy-id | |
4. sudo chmod +x /usr/local/bin/ssh-copy-id | |
5. ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment