How to Open an SSH Connection in macOS
- Open Terminal
-
Enter the following command:
ssh user@hostname -p PORT -i SSH-KEY
- user — your SSH username. On Ecenica 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 Ecenica 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.