Publication @fozzy |
Connecting to hosting via SSH (ISPmanager, macOS)
Instructions for creating SSH connection with hosting with ISPmanager control panel using terminal and macOS.
Generating SSH keys
1. In order to create SSH keys run the Terminal app and execute the following command:
ssh-keygen -t rsa
2. The system will ask you to save your keys to /home/user/.ssh/id_rsa. Press Enter
3. Come up with a password for your key and type it twice. No symbols will be displayed when typing the password, this is normal. Once you’ve finished, press Enter
4. You will see the message stating that your pair of keys is created.
5. To view the public key’s code execute the following command:
cat ~/.ssh/id_rsa.pub
6. Copy your public key’s code to your clipboard and to a safe place.
Configuring an SSH connection
7. Go to your client area to the “Hosting management” section and click the Open ISPmanager button.
8. The ISPmanager panel will be opened. Go to the “Dashboard” section and click the File manager button.
9. Click the “Add” button in the top menu bar.
10. Set the “Type” option to “Directory” and type '.ssh' to the “Name” field.
11. Click OK
12. Now click the “.ssh” directory and then the Attributes button in the top menu bar.
13. Type 700 into the “Permissions” field and click OK
14. Now double-click the .ssh directory to open it.
15. Click the Add button in the top menu bar.
16. Type authorized_keys to the “Name” field and create this file by clicking OK
17. Now click the “authorized_keys” file and then the Attributes button in the top menu bar.
18. Type 600 into the “Permissions” field and click OK
19. Now double-click the authorized_keys file to open it.
20. Paste your public key’s code you’ve copied into this file and click OK
Establishing an SSH connection
21. Now go back to the Terminal app to establish an SSH connection.
22. Execute the following command:
ssh your_login@your_server
where:
- your_login – your hosting service login which is sent in the welcome email after ordering a hosting service.
- your_server – your control panel’s address (it can be copied from the browser’s address line). For example – cpanel20.v.fozzy.com.
23. The system will ask you to confirm this operation. Type ‘yes’ and press Enter
24. Type the password you used when creating the keys. No symbols will be displayed when typing the password, this is normal. Once you’ve finished, press Enter
25. Done!
More helpful instructions can be found on our website
Fozzy – The fastest hosting
- Shared Hosting – from $3 / month
- Domains – from $0.82 / year
- Linux VPS & Windows VPS – from $8.99 / month
- SSL certificates – free
- Official website – https://fozzy.com
Join our community!
Facebook – https://www.facebook.com/fozzyhosting
YouTube – https://www.youtube.com/fozzyinc
Vkontakte – https://vk.com/fozzyru
|