[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: entrar por ssh sin contraseņa



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> ssh-keygen -t rsa
> ssh-keygen -t dsa
> 
> Despues he instalado las llaves publicas en el host de la maquina de mi
> colega:
> 
> ssh-copy-id -i ~/.ssh/id_rsa.pub usuario@host_maquina_de_mi_colega
> 

Cuando copies el id_rsa.pub en la maquina remota ese llave debe quedar
en el archivo ~/.ssh/authorized_keys, es decir

ssh-copy-id -i ~/.ssh/id_rsa.pub usuario@host_maquina_de_mi_colega

maquina_de_mi_colega:~$ cat id_rsa.pub >> .ssh/authorized_keys

Luego 

juak@KEIKO:~$ ssh juak@host_maquina_de_mi_colega
maquina_de_mi_colega:~$

=)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+K/CzRoSyGa+ZjrcRAnBCAJ0VwLwBNP4oq6V/FRsNa3EBE54QPgCbB3HU
3F8reiSytOv0CVx48JbqsAk=
=Y1Qg
-----END PGP SIGNATURE-----



Reply to: