Tag Archives: ssh-keygen

SSH public/private keys

ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/root/.ssh/id_dsa):
Created directory ‘/root/.ssh’.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_dsa.
Your public key has been saved in /root/.ssh/id_dsa.pub.
The key fingerprint is:
43:c9:50:3d:3f:28:b5:c5:88:60:79:bb:35:f3:c7:35 [email protected]
The key’s randomart image is:
+–[ DSA 1024]—-+
| ++.o o |
| ..oo.= o |
| .+o * |
| .o * o E.|
| S+ + o ..|
| .. . o |
| . |
| |
| |
+—————–+

Now you can useĀ ssh-copy-id to move your public key to remote server.