{"id":143,"date":"2017-07-01T14:57:38","date_gmt":"2017-07-01T14:57:38","guid":{"rendered":"https:\/\/newdelhihosting.co.in\/blog\/?p=143"},"modified":"2024-10-22T10:47:22","modified_gmt":"2024-10-22T10:47:22","slug":"how-to-vps-login-via-ssh","status":"publish","type":"post","link":"https:\/\/www.newdelhihosting.co.in\/blog\/how-to-vps-login-via-ssh\/","title":{"rendered":"How to VPS login Via SSH and change port number"},"content":{"rendered":"<p><strong>Below steps should be follow to login your vps server<\/strong><\/p>\n<p>1)download puTTY.exe configuration by following link<\/p>\n<p>http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html<\/p>\n<p>2)Run the file<\/p>\n<p>3)open cmd box with corresponding ip address with default SSH port<br \/>\n4)Login into VPS by given details<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-215 aligncenter\" src=\"https:\/\/newdelhihosting.co.in\/blog\/wp-content\/uploads\/2017\/06\/puttynew-300x290.png\" alt=\"\" width=\"348\" height=\"336\" srcset=\"https:\/\/www.newdelhihosting.co.in\/blog\/wp-content\/uploads\/2017\/06\/puttynew-300x290.png 300w, https:\/\/www.newdelhihosting.co.in\/blog\/wp-content\/uploads\/2017\/06\/puttynew-250x242.png 250w, https:\/\/www.newdelhihosting.co.in\/blog\/wp-content\/uploads\/2017\/06\/puttynew.png 454w\" sizes=\"(max-width: 348px) 100vw, 348px\" \/><br \/>\n<!--more--><\/p>\n<p><strong>Below steps should be follow to change port number on your vps server<\/strong><\/p>\n<p>1)Login in to root with given password<br \/>\n2)Change directory to etc folder with \u201ccd \/etc\u201d<\/p>\n<p>3)cd shh<br \/>\n4)Edit config file with \u201cvi sshd_config\u201d<br \/>\n5)Fild line port 22(default)<br \/>\nRemove the &#8220;#&#8221; and replace 22 with your desired port number<br \/>\n6)Save with &#8220;:wq&#8221;<br \/>\n7)Restart the service with \u201cservice sshd restart\u201d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-218 aligncenter\" src=\"https:\/\/newdelhihosting.co.in\/blog\/wp-content\/uploads\/2017\/06\/Screenshot_5-300x189.png\" alt=\"\" width=\"460\" height=\"290\" srcset=\"https:\/\/www.newdelhihosting.co.in\/blog\/wp-content\/uploads\/2017\/06\/Screenshot_5-300x189.png 300w, https:\/\/www.newdelhihosting.co.in\/blog\/wp-content\/uploads\/2017\/06\/Screenshot_5-250x157.png 250w, https:\/\/www.newdelhihosting.co.in\/blog\/wp-content\/uploads\/2017\/06\/Screenshot_5.png 665w\" sizes=\"(max-width: 460px) 100vw, 460px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Below steps should be follow to login your vps server 1)download puTTY.exe configuration by following link http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html 2)Run the file 3)open cmd box with corresponding ip address with default SSH port 4)Login into VPS by given details &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":426,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-143","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vps"],"jetpack_featured_media_url":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-content\/uploads\/2017\/07\/images.jpg","_links":{"self":[{"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/posts\/143"}],"collection":[{"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/comments?post=143"}],"version-history":[{"count":8,"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/posts\/143\/revisions"}],"predecessor-version":[{"id":394,"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/posts\/143\/revisions\/394"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/media\/426"}],"wp:attachment":[{"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/media?parent=143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/categories?post=143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/tags?post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}