Skip to content

Instantly share code, notes, and snippets.

@Sacristan
Created June 12, 2014 18:43
Show Gist options
  • Save Sacristan/f108406b9c93d1b3028f to your computer and use it in GitHub Desktop.
Save Sacristan/f108406b9c93d1b3028f to your computer and use it in GitHub Desktop.
deploy ssh key remotely
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