How do I connect via SSH on an Apple Mac?

Hostverge Support

Last Update hace un año

To connect via SSH on a Mac, you can follow the instructions below:


  1. Log in to cp.hostverge.com.
  2. Head to Manage Hosting and select Manage on the hosting package you want to connect to.
  3. Select the SSH Access icon.
  4. You’ll now need to generate a public key; on a Mac, this is done via the Terminal utility. Open Terminal on the Mac.
  5. Enter the following command into the terminal: ssh-keygen
  6. Press Enter
  7. You’ll be prompted to enter the location where you want the public and private keys to be saved. In this case, we’ll keep this as the default location. Press Enter
  8. You’ll be prompted for a passphrase; in this guide, we’ll just leave this empty. If you enter one, make sure you remember this, as you’ll be prompted for it later. Press Enter.
  9. You’ll be asked to confirm the passphrase; since we’ve left this empty, just press Enter.
  10. Your keys will have been generated and the public key will have been saved in a specified location. In our example, it has been saved in: /Users/user/.ssh/id_rsa.pub.
  11. Copy the path and enter the following command: cat /Users/user/.ssh/id_rsa.pub.
  12. The key will be outputted; copy the whole key from the start to the end.
  13. Paste the key back into the Public Key field in the SSH Access section. The handle should be added automatically. Press Add Public Key.
  14. Please note that this can take up to 5 minutes.
  15. Head back to Terminal and enter the SSH username and hostname found at the top of the SSH Access section; it should be something like [email protected] You’ll need to prefix it with the ssh command as follows: ssh [email protected]
  16. You’ll be prompted to confirm you would like to connect; simply type yes and press enter.
  17. You should have successfully connected via SSH from your Mac to your hosting package at HostVerge.

Was this article helpful?

0 out of 0 liked this article