SSH and SSH Keys

SSH (Secure Shell) is a network protocol that allows secure remote access over an encrypted connection. Through an SSH connection you can easily manage your files and folders, modify their permissions, edit files directly on the server, etc.

SSH provides several types of authentication, including password and key-based authentication. Key-based authentication is a very secure authentication method and it is recommended over password-based authentication which can be brute-forced.

Key-based authentication utilizes cryptographic keys to establish a trust relationship between server and client. Key-based authentication can require a passphrase (password) or can function without a passphrase on the key.

To use this type of authentication, you have to generate an SSH key pair. The key pair consists of a public and a private key. The public key is kept on the server, while the private key is kept on your computer. When you connect via SSH, a trust relationship between your computer and the server is established using the key pair. If any of the keys is missing or there is a discrepancy between the keys, a connection cannot be established.

Note that we recommend creating the key pair in cPanel -> SSH/Shell Access menu.

Alternatively, you can generate SSH key pair depending on your OS by following the steps in the articles below:

Information on how to connect via SSH can be found in the following articles depending on your hosting solution:

You find this article useful? Click here to learn more about SiteGround web hosting experts and what else we can do for you!