[[email protected] ~]
# ssh-keygen -t rsa -P ‘‘
Generating public
/private
rsa key pair.
Enter
file
in
which
to save the key (
/root/
.
ssh
/id_rsa
):
/root/
.
ssh
/id_rsa
already exists.
Overwrite (y
/n
)? y
Your identification has been saved
in
/root/
.
ssh
/id_rsa
.
Your public key has been saved
in
/root/
.
ssh
/id_rsa
.pub.
The key fingerprint is:
e3:ee:06:95:89:2c:38:8c:61:ed:ed:34:b2:ee:59:b4 [email protected]
The key‘s randomart image is:
+--[ RSA 2048]----+
| . |
|.. . |
|.+.... . o |
|. +o.+o + |
| .=o..S |
| ...o. . |
| . E .. |
| .o .. |
| .o oo |
+-----------------+
[[email protected] ~]
# ssh-keygen -t rsa -f .ssh/id_rsa -P ‘‘
Generating public
/private
rsa key pair.
.
ssh
/id_rsa
already exists.
Overwrite (y
/n
)? y
Your identification has been saved
in
.
ssh
/id_rsa
.
Your public key has been saved
in
.
ssh
/id_rsa
.pub.
The key fingerprint is:
42:ae:74:9d:bf:
bc
:eb:a8:51:6a:2d:5f:5c:1d:72:b8 [email protected]
The key‘s randomart image is:
+--[ RSA 2048]----+
| |
| . |
| . o o |
| o . . = . |
| . + S E . |
| . o = o . |
| . = . + |
| . + + . |
| ..o.*o |
+-----------------+