March 2019
Beginner
490 pages
12h 40m
English
Although we have been talking about the use of the SSH protocol being completely safe, this does not mean that it is oblivious to suffer some kind of attack that puts our information at risk. For this reason, users have the option to modify the default configuration of this protocol to make it even more secure, such as changing the default port or the maximum number of retries to connect to the server. Let's see how we can improve the security of our SSH.
First, we need to locate the configuration file, sshd_config. This file is usually in the /etc/ssh path.
The following configuration could be the default content of the file:
Port 22Protocol 2LoginGraceTime 30PermitRootLogin noMaxAuthTries ...
Read now
Unlock full access