{"id":2019,"date":"2015-08-20T20:59:34","date_gmt":"2015-08-20T20:59:34","guid":{"rendered":"https:\/\/www.milesweb.com\/hosting-faqs\/?p=2019"},"modified":"2025-04-10T14:46:49","modified_gmt":"2025-04-10T09:16:49","slug":"how-to-connect-your-server-by-ssh","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/","title":{"rendered":"How To Login to Your Server By SSH?"},"content":{"rendered":"\n<p>SSH (Secure Shell) is a network protocol that provides a secure &amp; encrypted channel to log into remote servers or computers to run commands and administrate the destined machine.<\/p>\n\n\n\n<p>In simple words, it works on a client-server architecture and encrypts a tunnel between a local client and a remote server, normally on port 22. Thus, sensitive information (passwords and commands) is encrypted so eavesdropping is not possible.<\/p>\n\n\n\n<p><strong>Prerequisites<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You must have a logged-in server IP address\u200b.<\/li>\n\n\n\n<li>Username to remotely log in. (Commonly &#8216;root&#8217; for Dedicated and VPS servers)\u200b&nbsp;<\/li>\n\n\n\n<li>Password\u200b to access your server.<\/li>\n\n\n\n<li>Ensure your IP is allowed in the firewall and SSH access is enabled\u200b.<\/li>\n\n\n\n<li>SSH client installed on your computer (e.g., PuTTY).<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to log in to your server by SSH using PuTTY:<\/h2>\n\n\n\n<p>Step 1: Open PuTTY on your computer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"776\" height=\"624\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/open-putty.png\" alt=\"Open PuTTY\" class=\"wp-image-19114\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/open-putty.png 776w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/open-putty-300x241.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/open-putty-768x618.png 768w\" sizes=\"auto, (max-width: 776px) 100vw, 776px\" \/><\/figure>\n\n\n\n<p>Step 2: In the \u2018Host Name (or IP address)\u2019 field, you can either enter the hostname or the IP address of your server. You can also directly enter the provided username. By default, the port is always 22. (Ensure what port has been configured by your system administrator or provider to avoid glitches.)<\/p>\n\n\n\n<p>Enter it in the field \u2018Port\u2019 and hit the \u2018Open\u2019 button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"451\" height=\"441\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/enter-hostname-or-the-ip-address.png\" alt=\"enter the hostname or the IP address\" class=\"wp-image-19115\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/enter-hostname-or-the-ip-address.png 451w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/enter-hostname-or-the-ip-address-300x293.png 300w\" sizes=\"auto, (max-width: 451px) 100vw, 451px\" \/><\/figure>\n\n\n\n<p>Note: If it\u2019s the first time you are logging in, the \u201cPuTTY Security Alert\u201d might pop-up. Close the popup by just clicking the option \u2018Yes.\u2019<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"634\" height=\"465\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/putty-security-alert.png\" alt=\"putty-security-alert\" class=\"wp-image-19116\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/putty-security-alert.png 634w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/putty-security-alert-300x220.png 300w\" sizes=\"auto, (max-width: 634px) 100vw, 634px\" \/><\/figure>\n\n\n\n<p>Step 4: If you only typed in the server&#8217;s name or IP address, the server will then ask you for your username. When prompted for &#8216;login as:&#8217;, here you have to enter your username.\u200b<\/p>\n\n\n\n<p>Step 5: Now the system will prompt for your password. Simply enter the password and hit the \u2018enter\u2019 button on your keyboard.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"660\" height=\"415\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/enter-the-password.png\" alt=\"enter the password\" class=\"wp-image-19119\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/enter-the-password.png 660w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/enter-the-password-300x189.png 300w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/figure>\n\n\n\n<p>That\u2019s it! If your username and password were correct, you&#8217;ll be logged in and see a command prompt that looks something like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@test ~]#<\/code><\/pre>\n\n\n\n<p>This indicates you&#8217;re now connected to the server and can start typing commands.<\/p>\n\n\n\n<div class=\"vlt-box \">\n<div class=\"box-title\" style=\"background:#D5EAFF; color:#000\">Conclusion<\/div>\n<div class=\"box-content\" >\n<p>Remote management using SSH on your server opens up secure access. With this easy-to-follow guide, you can now break through the complexity barrier and access and manage your server securely with ease through an encrypted channel. Experience the convenience of secure command-line administration!<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>SSH (Secure Shell) is a network protocol that provides a secure &amp; encrypted channel to log into remote servers or computers to run commands and administrate the destined machine. In simple words, it works on a client-server architecture and encrypts a tunnel between a local client and a remote server, normally on port 22. Thus, [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[],"class_list":["post-2019","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-howtos"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Connect Your Server By SSH<\/title>\n<meta name=\"description\" content=\"Get to know the process of how to login to your server by SSH?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Connect Your Server By SSH\" \/>\n<meta property=\"og:description\" content=\"Get to know the process of how to login to your server by SSH?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2015-08-20T20:59:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-10T09:16:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/open-putty.png\" \/>\n<meta name=\"author\" content=\"Amol Naik\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Amol Naik\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/\"},\"author\":{\"name\":\"Amol Naik\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7cd98f9201bc93e38b74b2ba2ac49bd3\"},\"headline\":\"How To Login to Your Server By SSH?\",\"datePublished\":\"2015-08-20T20:59:34+00:00\",\"dateModified\":\"2025-04-10T09:16:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/\"},\"wordCount\":366,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/open-putty.png\",\"articleSection\":[\"How-Tos\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/\",\"name\":\"How To Connect Your Server By SSH\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/open-putty.png\",\"datePublished\":\"2015-08-20T20:59:34+00:00\",\"dateModified\":\"2025-04-10T09:16:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7cd98f9201bc93e38b74b2ba2ac49bd3\"},\"description\":\"Get to know the process of how to login to your server by SSH?\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/open-putty.png\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/open-putty.png\",\"width\":776,\"height\":624,\"caption\":\"Open PuTTY\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Login to Your Server By SSH?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7cd98f9201bc93e38b74b2ba2ac49bd3\",\"name\":\"Amol Naik\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/051d93e0548382a233b8a429b0813076888d5f179b4297089ac7ca9ed9c75bfb?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/051d93e0548382a233b8a429b0813076888d5f179b4297089ac7ca9ed9c75bfb?s=96&d=blank&r=g\",\"caption\":\"Amol Naik\"},\"sameAs\":[\"https:\/\/www.milesweb.com\/\"],\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/amol\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Connect Your Server By SSH","description":"Get to know the process of how to login to your server by SSH?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/","og_locale":"en_US","og_type":"article","og_title":"How To Connect Your Server By SSH","og_description":"Get to know the process of how to login to your server by SSH?","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2015-08-20T20:59:34+00:00","article_modified_time":"2025-04-10T09:16:49+00:00","og_image":[{"url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/open-putty.png","type":"","width":"","height":""}],"author":"Amol Naik","twitter_misc":{"Written by":"Amol Naik","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/"},"author":{"name":"Amol Naik","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7cd98f9201bc93e38b74b2ba2ac49bd3"},"headline":"How To Login to Your Server By SSH?","datePublished":"2015-08-20T20:59:34+00:00","dateModified":"2025-04-10T09:16:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/"},"wordCount":366,"commentCount":0,"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/open-putty.png","articleSection":["How-Tos"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/","name":"How To Connect Your Server By SSH","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/open-putty.png","datePublished":"2015-08-20T20:59:34+00:00","dateModified":"2025-04-10T09:16:49+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7cd98f9201bc93e38b74b2ba2ac49bd3"},"description":"Get to know the process of how to login to your server by SSH?","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#primaryimage","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/open-putty.png","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2025\/04\/open-putty.png","width":776,"height":624,"caption":"Open PuTTY"},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-connect-your-server-by-ssh\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How To Login to Your Server By SSH?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/7cd98f9201bc93e38b74b2ba2ac49bd3","name":"Amol Naik","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/051d93e0548382a233b8a429b0813076888d5f179b4297089ac7ca9ed9c75bfb?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/051d93e0548382a233b8a429b0813076888d5f179b4297089ac7ca9ed9c75bfb?s=96&d=blank&r=g","caption":"Amol Naik"},"sameAs":["https:\/\/www.milesweb.com\/"],"url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/amol\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=2019"}],"version-history":[{"count":29,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2019\/revisions"}],"predecessor-version":[{"id":19122,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2019\/revisions\/19122"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=2019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=2019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=2019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}