Skip to content

Instantly share code, notes, and snippets.

@marcboeker
Forked from nutrun/gist:252619
Last active June 27, 2016 13:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcboeker/256532 to your computer and use it in GitHub Desktop.
Save marcboeker/256532 to your computer and use it in GitHub Desktop.
SSH password less auth
# 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