{"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-11-12T02:57:07","modified_gmt":"2026-11-12T02:57:07","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>To connect to your Hostinger Virtual Private Server (VPS) via SSH, use the Web Console in Hostinger dashboard or a local SSH client with your SSH username, IP address, and password. Secure Shell (SSH) is a protocol that manages your VPS through a command-line interface.<\/p>\n<h2 id=\"vps-ssh-details\">Locate your SSH details<\/h2>\n<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>\n<ol>\n<li>Go to Hostinger dashboard <span style=\"font-weight: 400\">\u2192 <a data-click-id=\"hgr-post-content-link-vps\" 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>\n<p>On the <a data-click-id=\"hgr-post-content-link-vps-overview-page\" href=\"\/support\/5726606-how-to-use-the-vps-dashboard-in-hostinger\/\">VPS Overview page<\/a>, find the following:<\/p>\n<ul>\n<li><strong>Server IP and<\/strong>\u00a0<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:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-details.png\/public\" alt=\"\" width=\"380\" height=\"303\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-details.png\/w=458,fit=scale-down 458w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-vps-details.png\/w=300,fit=scale-down 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 Hostinger dashboard. 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:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-52.png\/w=1024,h=485,fit=scale-down\" alt=\"\" width=\"1024\" height=\"485\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-52.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-52.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-52.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-52.png\/w=1536,fit=scale-down 1536w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-52.png\/w=1962,fit=scale-down 1962w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<\/ul>\n<h2 id=\"h_5e1b7e5912\">Method 1 \u2014 Connect via the Hostinger Web Console (recommended)<\/h2>\n<p class=\"no-margin\">The <a data-click-id=\"hgr-post-content-link-web-console\" href=\"\/support\/how-to-use-the-web-console-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>\n<ol>\n<li>Go to Hostinger dashboard <span style=\"font-weight: 400\">\u2192 <a data-click-id=\"hgr-post-content-link-vps-2\" 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:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-49-scaled.png\/w=1024,h=381,fit=scale-down\" alt=\"\" width=\"1024\" height=\"381\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-49-scaled.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-49-scaled.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-49-scaled.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-49-scaled.png\/w=1536,fit=scale-down 1536w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-03_14-49-scaled.png\/w=2048,fit=scale-down 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 data-click-id=\"hgr-post-content-link-locate-your-ssh-credentials\" 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>\n<h2 id=\"h_736894095d\">Method 2 \u2014 Connect using a local SSH client<\/h2>\n<p>You can also connect using your computer\u2019s terminal (macOS\/Linux) or a client like PuTTY (Windows). This method requires you to manually enter your server details.<\/p>\n<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 data-click-id=\"hgr-post-content-link-putty\" href=\"https:\/\/putty.software\/\" 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 by clicking the copy icon next to <strong>SSH access<\/strong>, below the server OS and name on the VPS Overview page. Paste the command into your SSH client and press <strong>Enter<\/strong>.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-25288\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-12_09-56.png\" alt=\"\" width=\"851\" height=\"344\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-12_09-56.png 851w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-12_09-56-300x121.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-12_09-56-768x310.png 768w\" sizes=\"(max-width: 851px) 100vw, 851px\" \/><\/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>\n<p><strong>NOTES<\/strong><\/p>\n<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>\n<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 data-click-id=\"hgr-post-content-link-reset-the-firewall\" href=\"\/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<p>You are now connected to your Hostinger VPS and can run commands on it.<\/p>\n<\/div>\n<p class=\"no-margin\"><b>Additional resources<\/b><\/p>\n<ul>\n<li class=\"no-margin\"><a data-click-id=\"hgr-post-content-link-basic-ssh-commands\" class=\"intercom-content-link\" href=\"\/tutorials\/basic-ssh-commands\/\" target=\"_blank\" rel=\"noopener\">Basic SSH commands<\/a><\/li>\n<li><a data-click-id=\"hgr-post-content-link-how-to-use-putty\" class=\"intercom-content-link\" href=\"\/tutorials\/how-to-use-putty-ssh\/\" target=\"_blank\" rel=\"noopener\">How to use PuTTY<\/a><\/li>\n<li><a data-click-id=\"hgr-post-content-link-how-to-change-your-vps-ssh-password-at-hostinger\" href=\"\/support\/8942826-how-to-change-your-vps-ssh-password-at-hostinger\/\">How to change your VPS SSH password at Hostinger<\/a><\/li>\n<li><a data-click-id=\"hgr-post-content-link-how-to-use-ssh-keys\" class=\"intercom-content-link\" href=\"\/support\/4792364-how-to-use-ssh-keys-at-hostinger-vps\/\" target=\"_blank\" rel=\"noopener\">How to use SSH keys<\/a><\/li>\n<li><a data-click-id=\"hgr-post-content-link-how-to-troubleshoot-ssh-connection-issues-on-vps\" href=\"\/support\/9969102-how-to-troubleshoot-ssh-connection-issues-on-vps\/\">How to troubleshoot SSH connection issues on VPS<\/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":{"_content_updated_date":"","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-\u044f\u043a-\u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0438\u0441\u044f-\u0434\u043e-vps-\u0447\u0435\u0440\u0435\u0437-ssh-\u0432-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":15,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1017\/revisions"}],"predecessor-version":[{"id":25289,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1017\/revisions\/25289"}],"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}]}}