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:
- Grant SSH access permission on your host for your IP address.
- Have uploaded and authorised (in cPanel) your public SSH key, which was generated on your local machine.