How to generate SSH key and connect to hosting via SSH
03 Sep 2017
Generate SSH key
-
Ggenerate the SSH key in the your hosting’s control panel.
-
Download
privateSSH key. -
Copy the key into
~\.sshfolder. -
Run the following command to add this identity to you rmachine:
ssh-add -K <key-file-name>You will be prompted to type the password that you have set during the key generation in cPanel.
-
Use the cPanel user name to connect to you host by SSH:
ssh -p 1033 [email protected]