Skip to content

Instantly share code, notes, and snippets.

View marcboeker's full-sized avatar

Marc Boeker marcboeker

View GitHub Profile
@marcboeker
marcboeker / authme.sh
Last active June 27, 2016 13:52 — forked from nutrun/gist:252619
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
}