Use the steps below to open an SSH connection in macOS.
- Open Terminal
- 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.
- Press Enter.
- A prompt will appear asking you to confirm the identity of the server you are connecting to. Type yes and press enter.
- You will be logged into your bash terminal.