Use the steps below to open an SSH connection in macOS.

  1. Open Terminal
  2. Enter the following command:
    ssh user@hostname -p PORT -i SSH-KEY

    user is your SSH user. On DomainsFoundry services this is your cPanel username.
    hostname your domain name or hostname
    port the SSH port for the connection
    ssh-key the private SSH key for your username. On DomainsFoundry services you can generate an SSH key in cPanel.

  3. Press Enter.
  4. A prompt will appear asking you to confirm the identity of the server you are connecting to. Type yes and press enter.
  5. You will be logged into your bash terminal.