What is SSH?

The common answer to such questions is to use a secure shell and use SSH. The only drawback is that SSH is not a shell; it is actually a protocol often referred to SSH1 and SSH2: two different versions of the same protocol, incompatible with each other. Actually, nowadays, we are mostly dealing with SSH version 2 and OpenSSH server; it is the server program from the OpenBSD Project, which is available for a number of platforms.

What are the benefits of SSH and why should we use it? Short story long, SSH grants three main facilities:

  • Authentication: This means it can make us sure of the identity of the other party. So, when someone tries to connect to our SSH server, the server will be able to obtain a digital proof of identity ...

Get Mastering Bash now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.