-
-
Save marcboeker/256532 to your computer and use it in GitHub Desktop.
SSH password less auth
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
# twitter.com/michael_jones wrote me | |
# Put in ~/.profile, or similar | |
# Use like "authme someuser@someserver" | |
function authme { | |
ssh $1 'cat >>~/.ssh/authorized_keys' <~/.ssh/id_rsa.pub | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment