How to connect to a webserver via SSH

The following command will establish an SSH connection to your web server using Terminal.

$ ssh ssh://<username>@<server-address>:<port>Code language: HTML, XML (xml)

Notes

Requires two previous steps:

  1. Grant SSH access permission on your host for your IP address.
  2. Have uploaded and authorised (in cPanel) your public SSH key, which was generated on your local machine.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.