Singapore & Australia # 1 for Web Hosting & Domains
SG: +65 6914-7888   AU: 1300-863-436 Asset 1colo Help
Vodien Logo

Connect SSH via Mac OSx

Connect SSH via Mac OSx. Please take note of the pre-requisite:

Connect SSH via Mac OSx through Terminal

Step 1. Find the “Terminal” application in launchpad and start it.

mac-terminal-icon

Step 2. Go back to WHM and look for the newly created public key. Click on View/Download Key.

public-key-whm

Copy the Public Key.

public-key-whm-copy

Step 3. Run the following command on your machine:

pwd

This will check the present working directory. Make sure it shows /Users/username/ (username pertains to your local computer username).

Create and edit a file by using the  command below (replace “filename” with any file name you want).
vim filename

pwd-terminal-ssh

(Note: The word vodien next to vim is only an example.)

Step 4. Paste the SSH Public Key. You may need to press i from your keyboard to insert the key.

public-key-terminal

Step 5. Press “ESC” and type: wq and press enter.

exit-editor-ssh-terminal

Step 6. Now you are able to connect to the server via SSH with the following command in the terminal window:

Type in ssh root@yourvpsaddress.com. (This is only an example. Please replace yourvpsaddress.com with your correct VPS address.)

authenticate-ssh

Step 7. You will be asked if you want to continue connecting. Type in yes and press Enter.authenticated-ssh

Step 8. You will be asked for the password. Enter your VPS password (same with your WHM login password).

You are now connected to the command line with your Mac computer.

Do not hesitate to contact our support team if you have further questions.

Connect SSH via Mac OSx

(Visited 412 times, 1 visits today)
Updated on August 17, 2020

Was this article helpful?

Related Articles