Skip to content

Instantly share code, notes, and snippets.

@anabelle anabelle/
Created Dec 25, 2011

What would you like to do?
add ssh key to server
# Agregar esto a .bashrc o a .bash_aliases
# Uso: add_ssh usuario@servidor.tld
function add_ssh {
cat ~/.ssh/ | ssh $1 'cat >> .ssh/authorized_keys'
export -f add_ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.