Enable SSH protocol 2

Enable SSH protocol 2

The SSH Protocol one configured systems are facing the automated “root kits” attacks. The reason to use the SSH Protocol 2 on the dedicated web server is that it is more secure as compared to SSH protocol 1 is as follows.

1st) In the SSH 2 protocol the separate connection and authentication protocol are used and in SSH protocol 1 only single monolithic protocol is used.

2nd) The major difference between SSH protocol 1 and 2 is the “Supports for password changing”, the SSH protocol 2 only provide an option to change the password.

3rd) In the SSH protocol you can use the multiple session from one connection but in the SSH protocol 1 , you can use the single session per connection.

As a security purpose refers to the following steps to enable the SSH Protocol 2.

1. Login to the server via SSH as root user.

2. Open the sshd service main configuration file.

pico /etc/ssh/sshd_config

3. Find the line: #Protocol 2, 1 and add new line below the “#Protocol 2, 1” section or uncomment it and change it
4th. Now Restart SSHD service to active the new SSHD configuration.

/etc/rc.d/init.d/sshd restart
or
service sshd restart

 

About Anant 384 Articles
Senior technical writer