{"id":1017,"date":"2021-11-11T12:35:59","date_gmt":"2021-11-11T12:35:59","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2021\/11\/11\/5723772-how-to-connect-to-your-vps-via-ssh-at-hostinger\/"},"modified":"2026-09-03T07:34:41","modified_gmt":"2026-09-03T07:34:41","slug":"5723772-how-to-connect-to-your-vps-via-ssh-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/5723772-how-to-connect-to-your-vps-via-ssh-at-hostinger\/","title":{"rendered":"How to connect to your Hostinger VPS via SSH"},"content":{"rendered":"<p>Secure Shell (SSH) is a protocol used to manage your Hostinger Virtual Private Server (VPS) via a command-line interface. You can access your server directly through your web browser or by using a local SSH client on your computer.<\/p><h2 id=\"vps-ssh-details\">Locate your SSH details<\/h2><p>The Web Console method does not require SSH details as it connects automatically. For the web console method or in case you want to know your details:<\/p><ol>\n<li>Go to hPanel <span style=\"font-weight: 400\">&rarr; <a href=\"https:\/\/hpanel.hostinger.com\/vps\" target=\"_blank\" rel=\"noopener\">VPS<\/a><\/span>.<\/li>\n<li>Click <strong>Manage<\/strong> next to the server.<\/li>\n<\/ol><p>On the VPS Overview page, find the following:<\/p><ul>\n<li><strong>Server IP and<\/strong>&nbsp;<strong>username<\/strong>: Scroll down to the VPS details card to find the SSH username and your VPS IPv4 address.<br>\n<img decoding=\"async\" class=\"aligncenter wp-image-10639\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-details.png\" alt=\"\" width=\"380\" height=\"303\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-details.png 458w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-details-300x239.png 300w\" sizes=\"(max-width: 380px) 100vw, 380px\" \/><\/li>\n<li><strong>SSH Password<\/strong>: Use the password you set up when you first configured the server. For security reasons, it cannot be accessed or displayed from hPanel. If you have forgotten the password, click on <strong>Change<\/strong> below <strong>Root password<\/strong> to set a new one.<br>\n<img decoding=\"async\" class=\"alignnone wp-image-17825 size-large\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-52-1024x485.png\" alt=\"\" width=\"1024\" height=\"485\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-52-1024x485.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-52-300x142.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-52-768x364.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-52-1536x728.png 1536w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-52.png 1962w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<\/ul><h2 id=\"h_5e1b7e5912\">Method 1 &mdash; Connect via the Hostinger Web Console (recommended)<\/h2><p class=\"no-margin\">The <a href=\"https:\/\/www.hostinger.com\/support\/7978544-how-to-use-the-browser-terminal-in-hostinger\/\">web console<\/a> is the simplest method as it automatically authenticates your session, allowing you to access the server without entering credentials manually or installing third-party software.<\/p><ol>\n<li>Go to hPanel <span style=\"font-weight: 400\">&rarr; <a href=\"https:\/\/hpanel.hostinger.com\/vps\" target=\"_blank\" rel=\"noopener\">VPS<\/a><\/span>.<\/li>\n<li>Click <strong>Manage<\/strong> next to the server.<\/li>\n<li>On the VPS Overview page, click the <strong>Web Console<\/strong> button located in the top right corner.<br>\n<img decoding=\"async\" class=\"alignnone wp-image-17822 size-large\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-49-1024x381.png\" alt=\"\" width=\"1024\" height=\"381\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-49-1024x381.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-49-300x112.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-49-768x286.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-49-1536x572.png 1536w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-49-2048x762.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<li>A new window will open, and you will be automatically logged in to your VPS command line.\n<ol>\n<li>If you get asked for username and password, refer to the <a href=\"#vps-ssh-details\">Locate your SSH credentials<\/a> above. In that case and for security reasons, the web console will not show characters or dots while you type your password.<\/li>\n<\/ol>\n<\/li>\n<\/ol><h2 id=\"h_736894095d\">Method 2 &mdash; Connect using a local SSH client<\/h2><p>You can also connect using your computer&rsquo;s terminal (macOS\/Linux) or a client like PuTTY (Windows). This method requires you to manually enter your server details.<\/p><ol>\n<li>Open your SSH client.\n<ol>\n<li><b>Windows:<\/b> Use PowerShell (click Win+R, type <code>cmd<\/code> and press <b>Enter<\/b>) or an SSH client like <a href=\"https:\/\/www.putty.org\/\" target=\"_blank\" rel=\"noopener\">PuTTY<\/a>.<\/li>\n<li><b>macOS<\/b>: Search for Terminal in Spotlight.<\/li>\n<li><b>Linux:<\/b> Open the Terminal application (Ctrl+Alt+T).<\/li>\n<\/ol>\n<\/li>\n<li>Copy the SSH command from the <strong>Root access<\/strong> header next to the server OS and name.<img decoding=\"async\" class=\"alignnone wp-image-17827 size-large\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-53-1024x204.png\" alt=\"\" width=\"1024\" height=\"204\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-53-1024x204.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-53-300x60.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-53-768x153.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-53-1536x306.png 1536w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-53.png 1950w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<li>If asked to confirm the connection, type <code>yes<\/code> and press Enter.<\/li>\n<li>Enter your password when prompted.<\/li>\n<\/ol><p><strong>NOTES<\/strong><\/p><ul>\n<li>For security reasons, the web console does not show characters or dots while you type your password.<\/li>\n<li>If you do not remember your password, you can set a new one using the <strong>Reset password<\/strong> button in the VPS Overview page.<\/li>\n<\/ul><div class=\"intercom-container intercom-align-center\">\n<h2 id=\"h-troubleshooting\">Troubleshooting<\/h2>\n<p>If you cannot establish an SSH connection:<\/p>\n<ul>\n<li><strong>Reset the firewall<\/strong>: In your VPS dashboard, go to Settings and <a href=\"https:\/\/www.hostinger.com\/support\/4805502-how-to-set-up-a-firewall-at-vps\/#h_2a7483333c\">reset the firewall<\/a> to default rules.<\/li>\n<li><strong>Reset SSH configuration<\/strong>: Under the Settings menu, locate SSH configuration and click Reset SSH.<\/li>\n<li><strong>Check server status<\/strong>: If connecting via SSH client, try connecting with the browser terminal to verify if the server is running and responsive.<\/li>\n<\/ul>\n<\/div><p class=\"no-margin\"><b>Additional resources<\/b><\/p><ul>\n<li class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/tutorials\/ssh\/basic-ssh-commands\/\" target=\"_blank\" rel=\"noopener\">Basic SSH commands<\/a>.<\/li>\n<li><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-use-putty-ssh\/\" target=\"_blank\" rel=\"noopener\">How to use PuTTY<\/a>.<\/li>\n<li><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/4792364-how-to-use-ssh-keys-at-hostinger-vps\/\" target=\"_blank\" rel=\"noopener\">How to use SSH keys<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Connecting to your VPS at Hostinger using SSH<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[199],"tags":[],"class_list":["post-1017","post","type-post","status-publish","format-standard","hentry","category-vps-management"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/5723772-how-to-connect-to-your-vps-via-ssh-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/5723772-como-conectarte-a-tu-vps-a-traves-de-ssh-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/5723772-comment-se-connecter-a-votre-vps-via-ssh\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/5723772-bagaimana-cara-membuat-sambungan-ke-vps-dengan-ssh-di-hostinger\/","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/5723772-como-se-conectar-ao-seu-vps-via-ssh-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/5723772----vps--ssh--hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1017"}],"version-history":[{"count":8,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1017\/revisions"}],"predecessor-version":[{"id":17837,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1017\/revisions\/17837"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}