SSH configuration sshd config file
SSH configuration sshd config file In SSH Server , we do have two types of configuration files. They are sshd_config and ssh_config. Here sshd_config is all about server side configuration. The behavior of SSH server written at this file. In this article I am writing a simple article with few best practices over sshd_config. Note: For edit that you are doing to sshd_config , you must restart sshd service. Please review my last article about ssh restart. 1. Allow login only with root and deny all other. This is actually simple. In the terminal type as a root user as menioned below # touch /etc/nologin Thats it. Then restart sshd service. Now try with normal user and you wont be allowed to login. 2.SSH Protocol switching. SSH have two versions as Version-1 , Version-2 Version-1 have only feature that user based authentication.Due to this we can only know who is getting login into server but we cant see from which machine or host he is doing this and this machine may be authorized or unau...