[nadia@titan ~]$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/nadia/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/nadia/.ssh/id_rsa.
Your public key has been saved in /home/nadia/.ssh/id_rsa.pub.
The key fingerprint is:
02:e7:ca:d0:c3:dc:0a:83:e5:4a:d9:97:50:6d:fa:20 nadia@titan
The key's randomart image is:
+--[ RSA 2048]----+
| .. |
| . o |
| ... + |
| +oE.B. |
|.o=.*o* S |
|.. =.+ o |
|. + |
| |
| |
+-----------------+
[nadia@titan ~]$ scp ~/.ssh/id_rsa.pub hyperion:./.ssh/authorized_keys
nadia@hyperion's password:
authorized_keys 100% 395 0.4KB/s 00:00
[nadia@titan ~]$ ssh hyperion