The following article will teach you how to connect to your (mt) Media Temple service via SSH using the Terminal application in OS X.
Before you start, you'll need:
- Enable SSH access.
- Your site number. Be sure to replace 00000 with your site number.
- Enable SSH access.
- Replace example.com with your domain.
- Set your root password.
- Replace xxx.xxx.xxx.xxx with your server's IP address.
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. Be sure to replace 00000 with your site number.
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:
email@example.com's password: _
firstname.lastname@example.org's password: _
email@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:~$
Add Terminal to the dock (optional)
- Open your Macintosh HD and go to the Applications folder.
- Next, open the Utilities folder.
- Look for the application called Terminal.
- To add to your dock, you just simply drag it to an empty space in the Dock.
Now, any time you want to open a Terminal window, you can do so from the Dock.