{"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-05-15T14:01:51","modified_gmt":"2026-05-15T14:01:51","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 Browser terminal method does not require SSH details as it connects automatically. For the terminal 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=\"aligncenter wp-image-10650\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-change-password.png\" alt=\"\" width=\"701\" height=\"245\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-change-password.png 1151w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-change-password-300x105.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-change-password-1024x358.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-change-password-768x268.png 768w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/li>\n<\/ul><h2 id=\"h_5e1b7e5912\">Method 1 &mdash; Connect via the Hostinger Browser terminal (recommended)<\/h2><p class=\"no-margin\">The <a href=\"https:\/\/www.hostinger.com\/support\/7978544-how-to-use-the-browser-terminal-in-hostinger\/\">Browser terminal<\/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>Terminal<\/strong> button located in the top right corner.<br>\n<img decoding=\"async\" class=\"aligncenter wp-image-10638\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-browser-terminal.png\" alt=\"\" width=\"703\" height=\"174\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-browser-terminal.png 913w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-browser-terminal-300x74.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-browser-terminal-768x190.png 768w\" sizes=\"(max-width: 703px) 100vw, 703px\" \/><\/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 terminal 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=\"aligncenter wp-image-10640\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-ssh-command.png\" alt=\"\" width=\"700\" height=\"134\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-ssh-command.png 1155w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-ssh-command-300x57.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-ssh-command-1024x196.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-ssh-command-768x147.png 768w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/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 terminal 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>Change 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=\"\/support\/4792364-how-to-use-ssh-keys-at-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-PT","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":4,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1017\/revisions"}],"predecessor-version":[{"id":10652,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1017\/revisions\/10652"}],"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}]}}