{"id":150,"date":"2013-09-17T07:20:00","date_gmt":"2013-09-17T07:20:00","guid":{"rendered":"http:\/\/236@jodohost.com\/\/blog\/"},"modified":"2013-09-17T07:20:00","modified_gmt":"2013-09-17T07:20:00","slug":"enabling-custom-ports-for-access-to-the-linux-server-via-ssh","status":"publish","type":"post","link":"http:\/\/www.jodohost.com\/blog\/index.php\/2013\/09\/17\/enabling-custom-ports-for-access-to-the-linux-server-via-ssh\/","title":{"rendered":"Enabling custom ports for access to the Linux server via SSH"},"content":{"rendered":"<p>Making SSH (secure shell) access to the server easily available is not a good idea. For this, we should turn firewall access to the server off on the default port 22 and provide access only to a known IP address. However, this is not always possible. <br \/>One other way to secure access to the server is to change the default SSH port from 22 to something else. To do this we can follow the steps below:- <\/p>\n<p>Step 1: Login onto the Linux server.<br \/>Step 2: Go to file \/etc\/sshd\/sshd_config and find the line as => #Port 22<br \/>Step 3: Remove the command from the start and make it as => Port 23456 .<br \/>Step 4: After this restart the SSH service and log out from the server. Now check for SSH access on port 22 and you won&#8217;t be able to do so. <br \/>Step 5: Then try to do SSH access on the server on port 23456 and login onto the server.<\/p>\n<p>That&#8217;s all to be able to secure SSH access to the server on a default port.<\/p>\n<p> ]]><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Making SSH (secure shell) access to the server easily available is not a good idea. For this, we should turn firewall access to the server off on the default port 22 and provide access only to a known IP address. However, this is not always possible. One other way to secure access to the server [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/150"}],"collection":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=150"}],"version-history":[{"count":0,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/150\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=150"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}