As we all know, SSH is the Secure Shell connection that we use to connect remotely to a Linux machine. It is the main tool used by system administrators for remote management of their infrastructure. It is one of the essential tools that we find in a basic installation of CentOS 7 and almost all Linux distributions by default.
Usually, SSH is only installed as a client, so you can only remotely connect to other machines; but this is not the case for a basic system installation. When installing the CentOS 7 server, it should already have the SSH server installed and running.
To install the SSH server, we can just rely on the default package repository without adding any extra third-party repository:
$ sudo yum install openssh-server
After having the SSH server installed, we should start the service and enable it for default system startup services:
$ sudo systemctl start sshd.service $ sudo systemctl enable sshd.service
For security, most machines have the default...