...
If the username is iQSonar, then the hidden folder .ssh will be located in /home/iQSonar/.ssh typically on Linux/Unix hosts.
...
No Format |
---|
|
...
[ |
...
SERVERNAME ~]$ ssh-keygen |
...
|
...
Generating public/private rsa key pair. |
...
Enter file in which to save the key (/home/ |
...
username/.ssh/id_rsa): |
...
Enter passphrase (empty for no passphrase): |
...
Enter same passphrase again: |
...
|
...
Your identification has been saved in /home/ |
...
username/.ssh/id_rsa. |
...
|
...
Your public key has been saved in /home/ |
...
username/.ssh/id_rsa.pub. |
...
|
...
The key fingerprint is: |
...
c0:bf:33:bd:f3:5a:8b:32:48:82:85:51:3e:18:6b:fa mdoyle@hydra |
Note that two files are created. The public key (which is copied to the remote server) and the private key (which is stored on your computer)
...