lunes, 10 de agosto de 2015

Generar Claves SSH

Fuente: https://www.digitalocean.com/community/tutorials/how-to-use-ssh-keys-with-digitalocean-droplets

Create the RSA Key Pair

The first step is to create the key pair on the client machine (there is a good chance that this will just be your computer):


ssh-keygen -t rsa
 
 
 

Copy to Server

cat ~/.ssh/id_rsa.pub | ssh root@[your.ip.address.here] "cat >> ~/.ssh/authorized_keys"