SSH Protocol
To provide security between a client and a server the SSH protocol uses encryption. All user authentication and file transfers are encrypted to protect the network against attacks.
Introduction to SSH(Secure Shell) Keys
The SSH(Secure Shell) is an access credential that is used in the SSH Protocol. In other words, it is a cryptographic network protocol that is used for transferring encrypted data over the network. The port number of SSH is 22(Twenty-Two). It allows you to connect to a server, or multiple servers, without having to remember or enter your password for each system that is to log remotely from one system to another. It always comes in key pairs:
- Public key – Everyone can see it, no need to protect it. (for encryption function).
- Private key – Stays in computer, must be protected. (for decryption function).
Key pairs can be of the following types:
- User Key – If the public key and private key remain with the user.
- Host Key – If public key and private key are on a remote system.
- Session key – Used when a large amount of data is to be transmitted.