Knowledgebase

How to log in to my dedicated server via SSH in Mac OS?

The following instructions are valid only for SiteGround customers. If you are not a SiteGround customer, you can check our general SSH instructions for more information on how to connect to an account via SSH. 

First you should generate an SSH key pair on your Mac OS.

Then you need to load your private SSH key using the following command:

 

 

The passphrase is the same as the one you have set during the generation of the SSH key.

Then you should initiate an SSH connection:

user@localhost: ssh USER@HOST_NAME -pPORT

USER - the user for which you want to establish the SSH connection. If your account is hosted by SiteGround, this will be the same username as the one you use to log in to your cPanel.

HOST_NAME (or IP address) - here you should enter the host/IP of the server to which you wish to connect;

PORT - the port for the connection - here you should enter 18765;

Press "Enter" and if everything has been set up properly, you will establish an SSH connection to your dedicated server.

You need help managing your dedicated server? We got it! SiteGround experts not only write helpful articles, but also manage the servers for our clients so they don’t have to read articles like this one.Learn more.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to reboot your dedicated server via WHM?

The WHM panel provides two options for a server reboot: Forceful Server Reboot Graceful...

How to change the password for the root user via WHM?

In order to change the password for the root user you will need to access the WHM panel and...

How to access WHM?

WHM stands for Web Host Manager. This is the cPanel's server administrative management software....

How to restart a service on my dedicated server?

In order to restart a service on your dedicated machine, follow these steps: Log in your WHM...

How to edit the MX records of a domain on my dedicated server via WHM?

In order to edit an MX record of a domain on your dedicated server, follow these steps: Log in...

Copyright © 2013<script>new Date().getFullYear()>2010&&document.write("-"+new Date().getFullYear());</script>, HostLantern. All Rights Reserved.