{"id":2502,"date":"2018-05-28T14:11:19","date_gmt":"2018-05-28T14:11:19","guid":{"rendered":"http:\/\/www.theperfectarts.com\/?p=2502"},"modified":"2020-06-01T05:35:44","modified_gmt":"2020-06-01T05:35:44","slug":"enable-ssh-protocol-2","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/enable-ssh-protocol-2\/","title":{"rendered":"Enable SSH protocol 2"},"content":{"rendered":"<p>The SSH Protocol one configured systems are facing the automated<strong> &#8220;root kits&#8221;<\/strong> 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.<\/p>\n<p>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.<\/p>\n<p>2nd) The major difference between SSH protocol 1 and 2 is the &#8220;Supports for password changing&#8221;, the SSH protocol 2 only provide an option to change the password.<\/p>\n<p>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.<\/p>\n<p>As a security purpose refers to the following steps to enable the SSH Protocol 2.<\/p>\n<p>1. Login to the server via SSH as root user.<\/p>\n<p>2. Open the sshd service main configuration file.<\/p>\n<blockquote><p><strong>pico \/etc\/ssh\/sshd_config<\/strong><\/p><\/blockquote>\n<p>3. Find the line: #Protocol 2, 1 and add new line below the &#8220;#Protocol 2, 1&#8221; section or uncomment it and change it<br \/>\n4th. Now Restart SSHD service to active the new SSHD configuration.<\/p>\n<blockquote><p><strong>\/etc\/rc.d\/init.d\/sshd restart<\/strong><br \/>\n<strong> or<\/strong><br \/>\n<strong> service sshd restart<\/strong><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>The SSH Protocol one configured systems are facing the automated &#8220;root kits&#8221; attacks. The reason to use the SSH Protocol 2 on the dedicated web <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/enable-ssh-protocol-2\/\" title=\"Enable SSH protocol 2\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":6675,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43,44],"tags":[],"class_list":["post-2502","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-commands","category-linux"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2502"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=2502"}],"version-history":[{"count":10,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2502\/revisions"}],"predecessor-version":[{"id":6607,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2502\/revisions\/6607"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media\/6675"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=2502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=2502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=2502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}