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:
- How to generate an SSH key pair in Windows
- How to generate an SSH key pair in Linux
- How to generate an SSH key pair in MacOS
Information on how to connect via SSH can be found in the following articles depending on your hosting solution:
- How to log in to my joomla site shared account via SSH using PuTTY?
- How to log in to my joomla site shared account via SSH in Mac OS?
- How to log in to my joomla site shared account via SSH in Linux?
- How to Enable SSH for Cloud on Windows using PuTTY
- How to Enable SSH for Cloud on Mac OS
- How to Enable SSH for Cloud on Linux
- How to log in to my dedicated server via SSH using PuTTY?
- How to log in to my dedicated server via SSH in Mac OS?
- How to log in to my dedicated server via SSH in Linux?
- Enable root login over SSH for Dedicated Servers on Windows/PuTTY
- Enable root login over SSH for Dedicated Servers on Mac OS
- Enable root login over SSH for Dedicated Servers on Linux
You find this article useful? Click here to learn more about joombig template and extension experts and what else we can do for you!
Related Article
destination source:https://www.siteground.com/kb/ssh_and_ssh_keys/