

This can be downloaded directly from the cPanel account.Ģ) Click on “Session” tab located in the top left menu, and enter the “ IP” and the port: 1988 (both are in your welcome letter – this may come as an IP address or a hostname).ģ) Under “Saved Sessions” enter a custom name which will be used to save this information fields. Expand the “ SSH” category from the left side and click on the “ Auth” button. From the right side window click on the “Browse” button and select downloaded private key, this key needs to have a *.ppk or *.txt extension. PuTTY is a free and popular open-source terminal emulator that can be used to connect to the server.ġ) Install and run PuTTy. While MacOS and other Linux-based operating systems have an integrated terminal, you will need special software on Windows. How to Connect to Your Server Using SSH Keys in Windows Using PuTTy

That’s all, you should now be logged into your account. P – the port used for the connection which is 1988. How to Connect to Your Server Using SSH Keys in Linuxģ) Now you need to add the Private Key that you downloaded to the ssh-agent, this can be done by running the following command in the terminal: P – the port used for the connection, we use port 1988 for SSH access. HOST_NAME (or IP address) – here you should enter either the hostname or the IP of the server to which you wish to connect

USER – this will be the same username as the one you use to log in to your cPanel account. You’ll be asked for the password you used when generating the SSH Key in cPanel.Ĥ) Now you are ready to connect to the server via SSH, you just need to run this command from the terminal:

Please make sure that your SSH Key has been authorized before setting up SSH authentication How to Connect to Your Server Using SSH Keys in MacOSġ) Find the “ Terminal” application in launchpad and start it.Ģ) Save the key from your cPanel account as described here.ģ) Now you need to add the Private Key that you downloaded to your Mac OSX Keychain, this can be done by running the following command in the terminal:
