HostGator.com » Support Portal



SSH Keys

For optimal security, it is recommended that you use SSH Keys for logging into SSH, rather than passwords.  Using SSH Keys makes it harder for a potential intruder to try to access your account or snoop or interfere with your connection.

You can setup SSH Keys via the Terminal program built into Linux or Mac OS X.  For Windows, you will need to use a third-party program such as PuTTY, which can be downloaded for free.

Once you setup SSH Keys, you can disable password authentication so that the server only accepts sessions from people with an authorized key.

More details on how to setup SSH Keys can be found in the following articles:


Article Comments

This is a great tutorial. Can you add how to disable password authentication once the above has been completed?

HostGator
Sure, we are working on it now.

kilowatt
Actually, I just tried this on my non-vps-dedicated account, and it will work fine if you don't mind not disabling passwords and replace 'root' with your Username.

Note that remote login as root, via ssh or otherwise, should only be used as a last resort, and probably disabled for more seasoned sys admins.

HostGator
Thank you for your comments. Just a quick reminder that the comments on this page are not monitored by technical support staff, and that for support issues, it is best to contact us by live chat, phone or email so we can assist you right away.

Although comments are not monitored by technical support staff, they are moderated and read by technical writers. Comments will need to be approved by a moderator before appearing.

Our technical writers do read the comments periodically for the purposes of updating the articles, and do appreciate your feedback, suggestions and corrections to the articles themselves, as well as any suggestions or tips for readers of this article. However, support questions posted here are not guaranteed to be replied to in a timely manner or at all. For support issues, it is best to contact our support staff instead by live chat, email or phone.



Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment