Created
August 23, 2011 15:29
-
-
Save rbochet/1165447 to your computer and use it in GitHub Desktop.
ssh-copy-id for the operating systems without this command (like Ubuntu). Put it in the path and use it with 'ssh-copy-id [email protected]'
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/*.pub | ssh $1 'mkdir -p .ssh; chmod 700 .ssh; cat>>.ssh/authorized_keys' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment