{"id":61237,"date":"2021-06-09T15:45:00","date_gmt":"2021-06-09T20:45:00","guid":{"rendered":"https:\/\/blog.cpanel.com\/?p=61237"},"modified":"2021-06-09T15:45:00","modified_gmt":"2021-06-09T20:45:00","slug":"secure-your-cpanel-server-with-ssh-keys-and-public-key-cryptography","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/secure-your-cpanel-server-with-ssh-keys-and-public-key-cryptography\/","title":{"rendered":"Secure Your cPanel Server With SSH Keys And Public Key Cryptography"},"content":{"rendered":"\n
cPanel & WHM is a complete server management solution, but you may occasionally need to log in to your server’s shell to run scripts or edit configuration options on the command line. The most secure way to remotely log in is with SSH. An SSH client on your local computer connects to a daemon on the server. SSH encrypts the commands you send to the server and the information it sends back.<\/p>\n\n\n\n
When you log in with SSH, you must supply authentication credentials. These are usually your cPanel account\u2019s username and password. However, password-based logins are not as secure as we might like. Users often choose easy-to-guess passwords. Even if they don\u2019t, malicious bots will bombard SSH with brute force and dictionary attacks, consuming the server\u2019s resources.<\/p>\n\n\n\n