Compartició de claus SSH
Per fer-ho el primer que farem sera en el nostre client copiarem la seguent comanda
ssh-copy-id usuari@ip_del_usuari Resultat de la comanda
[09:29:15][test][agarcia@agarcia]-$ ssh-copy-id alopez@172.25.205.11
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
alopez@172.25.205.11's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'alopez@172.25.205.11'"
and check to make sure that only the key(s) you wanted were added.
[09:30:14][test][agarcia@agarcia]-$ ssh alopez@172.25.205.11
[09:31:42][~][alopez@alopez]-$