How to log in to my dedicated server via SSH in Linux?

When you must log into your dedicated server through SSH in Linux, there are some steps which you must follow. To start with, you are expected to generate the SSH key pair with the help of the control panel. You can copy this private key from cPanel and then save this into a text file within your computer running Linux as its operating system. The following step will be to load this private key into the SSH agent through Terminal and using the SSH-add command. So the command should look like: ssh-add /User/youruser/private_key and you need to replace private key with location of that private-key text file.

Once this has been done, you will get prompted for entering a password and you must make sure that this is the same as that you had created when you generated the key in the cPanel. This is the final step before you can connect to the SSH. Now, the command looks like ssh USER@HOST_NAME -pPORT where the USER represents the user for whom the connection must be established, PORT stands for port needed for the connection, HOST_NAME represents the IP of server which you are connecting. After this, you may press on "Enter"; if everything else is done properly, you should be able to establish SSH connection to the dedicated server successfully. Your server hostname or IP address, username for the cPanel are to be found under "Information & Settings" in the "My Accounts" section of your "User Area".

Was this answer helpful? #8 #10
 

Did We Miss Out on Something?

Relax, we have you covered. At Go4hosting, we go the extra mile to keep our customers satisfied. We are always looking out for opportunities to offer our customers “extra” with every service. Contact our technical helpdesk and we’d be more than happy to assist you with your Cloud hosting, Colocation Server, VPS hosting, dedicated Server or reseller hosting setup. Get in touch with us and we’d cover all your hosting needs, however bizarre they might be.

Related Questions

Submit your Query

  • I'm not a robot

Browse by ServicesBrowse by Services

Resource Library

What is Cloud Computing

Understand the term cloud computing, the ongoing trend, its playing field, future growth and how industry...

Myths about Cloud Computing

Cloud computing, in the recent years, has become a subject of significant discussion among the industry experts.

Download Now

Did We Miss Out on Something?

Relax, we have you covered. At Go4hosting, we go the extra mile to keep our customers satisfied. We are always looking out for opportunities to offer our customers “extra” with every service. Contact our technical helpdesk and we’d be more than happy to assist you with your Cloud hosting, Colocation Server, VPS hosting, dedicated Server or reseller hosting setup. Get in touch with us and we’d cover all your hosting needs, however bizarre they might be.

Submit Query

Please fill in the form below and we will contact you within 24 hours.