Before you start, you'll need:

  • Enable SSH access
  • Replace example.com with your domain

Instructions

Connect to your service via SSH

Open your Terminal application. You will see a window with a $ symbol and a blinking cursor. This is your basic command prompt. From here, you may issue the command to establish the SSH connection to your server. The most basic usage of this is as follows.

ssh root@example.com

Immediately after issuing this command, your computer will attempt to establish a connection to your server. If it is your first time connecting to that server, you will see a message asking you to confirm the identity of the machine:

The authenticity of host 'example.com (xxx.xxx.xxx.xxx)' can't be established.
RSA key fingerprint is f9:9b:06:11:75:d4:1f:d1:3c:51:0d:22:4a:13:ff:9f.
Are you sure you want to continue connecting (yes/no)  _

Make sure you entered the address properly, and type yes, followed by the return key, to proceed.

You will then be prompted to enter your password:

root@example.com's password: _ 

Type or copy/paste your SSH user's password into Terminal. You will not see the cursor move while entering your password. This is normal. Once you are finished inputting your password, press return on your keyboard. At that point, you will be connected to your server remotely through SSH.

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
example.com@XX:~$  

 

Reference material: https://mediatemple.net/community/products/dv/204405144/using-ssh-in-terminal.app-(mac-os-x)

September 17, 2018
Category: Developers