Skip to content

Lamp: SSH Connections Using Windows, Mac OS X Or Linux

ssh-windows-mac-linux

SSH or Secure Shell is a network protocol. SSH was designed to replace telnet and other insecure means of connecting to Linux/Unix computers.

SSH is most commonly used to setup secure connections to an SSH daemon running on a remote server. Common uses include securely transferring files, securely logging/remote administration of remote servers, and secure FTP.

Windows – PuTTy
PuTTy: PuTTy is a free application that can be downloaded from chiark.greenend.org.uk

1) In PuTTY, under Session, enter your Host Name

2) Under SSH, choose 2 from Preferred SSH Protocol Version

3) Under SSH -> Auth in PuTTY, you will need to specify where your private key can be found. Remember this is where you saved the private key on your local computer. Click Browse to locate the file on your computer.

4) If you wish to have your username automatically sent to the server when connecting, under Connection -> Data in PuTTY, you will see a field for “Auto-login username”. Type your account username there.

5) Save your settings to be used in future sessions – Under Sessions, type a name (such as “my site”) in the Saved Sessions box and click Save.

Mac – Terminal
Terminal: Terminal is an application included with all versions of Mac OS X

1) Open the Applications => Utilities folder/

2) Open Terminal

3) Enter the following:
ssh username@example.com
Note: You would enter your cPanel username as the username for SSH. You can find the username in the Stats column on the left hand side of the cPanel.

4) Press Return

The first time you connect:

The first time you connect you will be prompted to verify the authenticity of the host:

The authenticity of host ‘example.com’ can’t be established.
RSA key fingerprint is da:e5:96:49:99:75:d7:79:45:75:7d:62:0c:5a:1f:0d.
Are you sure you want to continue connecting (yes/no)?

a) Verify the domain name is correct.

b) Type in Yes.

c) Press Return

5) Enter your cPanel password.

6) Press Return
Note: You will not see any characters while entering your password.

Linux – Terminal
Terminal: Both Gnome and KDE ship with a Terminal application.

1) Open Terminal

2) Enter the following:
ssh username@example.com
Note: You would enter your cPanel username as the username for SSH. You can find the username in the Stats column on the left hand side of the cPanel.

3) Press Enter

The first time you connect:

The first time you connect you will be prompted to verify the authenticity of the host:

The authenticity of host ‘example.com’ can’t be established.
RSA key fingerprint is da:e5:96:49:99:75:d7:79:45:75:7d:62:0c:5a:1f:0d.
Are you sure you want to continue connecting (yes/no)?

a) Verify the domain name is correct.

b) Type in Yes.

c) Press Enter

4) Enter your cPanel password.

5) Press Enter
Note: You will not see any characters while entering your password.

Read more from Lamp

Share your thoughts, post a comment.

(required)
(required)

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments

*