130
edits
Line 92: | Line 92: | ||
/etc/init.d/ssh restart | /etc/init.d/ssh restart | ||
===How to get OpenSSH public and private keys in | ===How to get OpenSSH public and private keys in host computer=== | ||
When you run the following command, you will get two files in ''~/.ssh/'', one is called id_rsa, it's the private key (It mustn't be touched) and another that is named id_rsa.pub, in this file you can find the the public key that must be added in the target in the location explained in the next section. | When you run the following command, you will get two files in ''~/.ssh/'', one is called id_rsa, it's the private key (It mustn't be touched) and another that is named id_rsa.pub, in this file you can find the the public key that must be added in the target in the location explained in the next section. |
edits