Generando claves ssh

directamente copiado de aqui

$ ssh-keygen -b 1024 -t dsa
y listo, te genera un fichero con la clave privada, y otro con la publica.
luego ponemos el fichero en algun sitio como
$mv key ~/.ssh
luego editamos el fichero de rutas de claves
$sudo nano /etc/ssh/ssh_config
y añadimos la siguiente linea
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
IdentityFile ~/.ssh/key
y listo
This entry was posted in linux and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>