Generate public key



$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/vagrant/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/vagrant/.ssh/id_rsa.
Your public key has been saved in /home/vagrant/.ssh/id_rsa.pub.
The key fingerprint is:
bd:67:29:a2:92:db:7f:70:4b:00:8b:d0:36:2e:19:5a vagrant@perl-maven
The key's randomart image is:
+---[RSA 2048]----+
|                 |
|                 |
|                 |
|         .       |
|o E o +    . .   |
|+ o +.o. . +     |
| .  .ooo.        |
+-----------------+


.ssh/id_rsa
.ssh/id_rsa.pub