Skip to content

Instantly share code, notes, and snippets.

@baseboxorg
Forked from Sacristan/deploy ssh key remotely
Last active August 29, 2015 14:06
Show Gist options
  • Save baseboxorg/247850d4d3c517d85282 to your computer and use it in GitHub Desktop.
Save baseboxorg/247850d4d3c517d85282 to your computer and use it in GitHub Desktop.
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 deployer@lvh.me
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment