Publication @fozzy |
How to connect to hosting via SSH (DirectAdmin, macOS)
Instructions for creating an SSH connection with hosting to the DirectAdmin control panel using the Terminal utility in 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 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
1. Go to your client area to the “Hosting management” section and click the Open Direct Admin button.
2. The Direct Admin panel will be opened. Go to the “Advanced Features” section and click the SSH Keys button.
3. Click the Paste Key button and paste the public key’s code you’ve copied.
4. Click the Create button and you will see the “SSH key authorized” banner.
Establishing an SSH connection
1. Now go back to the Terminal app to establish an SSH connection.
2. 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 – da1.d.fozzy.com
3. The system will ask you to confirm this operation. Type ‘yes’ and press Enter
4. 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
5. 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
|