{"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-03-16T12:12:10","modified_gmt":"2026-03-16T12:12:10","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 VPS via SSH at Hostinger"},"content":{"rendered":"<p class=\"no-margin\">While there is a wide variety of <b><a href=\"\/support\/1583571-what-are-available-operating-systems-for-vps\" target=\"_blank\" class=\"intercom-content-link\">available templates<\/a><\/b>, which include control panels, you might prefer using SSH for your VPS management &ndash; or wish to install a custom panel. <\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">If you want to connect to your account via SSH, there are two ways to do that: <\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_5e1b7e5912\">First method &ndash; using Browser terminal<\/h2><h3 id=\"h_37966d4f88\">Step 1 &ndash; Accessing Browser terminal.<\/h3><p class=\"no-margin\">Go to your VPS <b>Overview<\/b> page. In the top right corner, you will see &ldquo;Browser terminal&rdquo;. Press this button to access your VPS SSH.<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/11\/e73a1393-dc35-4858-9f5d-c9f4a6b48614.jpg\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_20f76f4550\">Second method &ndash; using SSH<\/h2><p class=\"no-margin\">\n<\/p><h2 id=\"h_736894095d\">Step 1 &ndash; Gather Your SSH Details <\/h2><p class=\"no-margin\">To find your SSH details, you will need to navigate to the <b><a href=\"https:\/\/hpanel.hostinger.com\/servers\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">VPS<\/a> <\/b>dashboard, then <b>choose the server<\/b> to which you want to connect:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/11\/93363edd-a2b1-4c43-9cf8-71dfbc86f43c.jpg\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">On the <b>Overview<\/b> page, find the details to connect to your account via SSH: <\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/11\/6057e9d5-f9e0-4ff7-aa1f-aa0b0c5be7ca.jpg\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\"><b>NOTE<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\">If you forgot the SSH password, you can simply set a new one by clicking on the <b>Change <\/b>button<\/p>\n<\/li>\n<\/ul><h2 id=\"h_56e0a50a32\">Step 2 &ndash; Prepare the Application<\/h2><p class=\"no-margin\">Based on which OS you are using on your computer, the next step will require you to either open Terminal or run an SSH client. <\/p><div class=\"intercom-interblocks-table-container\">\n<table role=\"presentation\">\n<tbody>\n<tr>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"no-margin\"><b>OS <\/b><\/p>\n<\/td>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"no-margin\"><b>What to open and how<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"no-margin\">Linux<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">Click <b>Ctrl + Alt + T<\/b> or Search &rarr; <b>Terminal <\/b>to run terminal<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"no-margin\">Mac OS<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">In Spotlight search for <b>Terminal<\/b>.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"no-margin\">Windows<\/p>\n<\/td>\n<td>\n<ul>\n<li>\n<p class=\"no-margin\">Download an <b>SSH client<\/b> that is suitable for you. We recommend <b><a href=\"https:\/\/www.putty.org\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">PuTTY<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Alternatively, click <b>Win + R<\/b> and type <b>cmd<\/b>. Press <b>Enter<\/b> &ndash; this will run the Terminal<\/p>\n<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">Follow the steps described in <b>this tutorial<\/b> to configure Putty: <b><a href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-use-putty-ssh\" target=\"_blank\" class=\"intercom-content-link\">How to Use PuTTY SSH Client<\/a>.<\/b><\/p>\n<\/div><p class=\"no-margin\">\n<\/p><h2 id=\"h_6a5de84ef9\">Step 3 &ndash; Connect <\/h2><p class=\"no-margin\">If you chose <b>PuTTY<\/b>, make sure to follow these steps to connect: <b><a href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-use-putty-ssh#How_to_Connect_PuTTY\" target=\"_blank\" class=\"intercom-content-link\">How to Connect PuTTY<\/a><\/b>.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">If you chose <b>Terminal<\/b>, simply copy this code from your hPanel:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/11\/47933a24-0443-4e4b-9303-aa936f122f3e.jpg\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">And <b>insert it<\/b> into your terminal (you can do this by right-clicking in the terminal). Press <b>Enter <\/b>&ndash; the result should look like this:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/11\/e9c49052-ed0c-4c12-8d5c-05b15a13a759.jpg\" alt=\"The terminal screen showing how to enter the command to connect to VPS via SSH\"><\/div><p class=\"no-margin\">Type <b>yes<\/b> and press <b>Enter<\/b>. Then, you&rsquo;ll need to insert your <b>password<\/b>:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/11\/64fa021b-9082-4b7a-8cab-b32fd67b09aa.jpg\" alt=\"The terminal screen showing how to enter the password to connect to VPS via SSH\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\"><b>NOTES<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\">For security reasons, <b>the password will not be visible<\/b>, not even as &bull;&bull;&bull;&bull;&bull;, but your data will still be entered. Don&rsquo;t worry if you don&rsquo;t see any symbols, simply enter the password and press Enter.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">You can copy and paste the password by right-clicking using a computer mouse. In Windows, this action immediately inserts the password. In Linux, it will open a menu<\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">If the password is correct, you will now be <b>successfully connected to the server.<\/b> For example, it will look like this:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/11\/4e04f186-53b6-459e-9c06-41d82ab63b43.jpg\" alt=\"The terminal screen showing the welcome message after a successful connection to the server\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\"><b>NOTE<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\">For an easier connecting process, we recommend using <b><a href=\"\/support\/4792364-how-to-use-ssh-keys-at-vps\" target=\"_blank\" class=\"intercom-content-link\">SSH keys<\/a><\/b><\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">\n<\/p><h2 id=\"h_05a31a4e6b\">What to Do if You Cannot Connect to SSH<\/h2><p class=\"no-margin\">If you cannot connect to SSH, we recommend <b><a href=\"\/support\/4805502-how-to-set-up-a-firewall-at-vps#h_2a7483333c\" target=\"_blank\" class=\"intercom-content-link\">resetting your Firewall<\/a><\/b>. If that didn&rsquo;t help, reset the SSH configuration as well. For that, simply open <b>Settings <\/b>in the left menu and click on <b>Reset SSH <\/b>in the <b>SSH configuration<\/b> section: <\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/11\/c8e24f85-2d6a-4ba7-a891-b23a07ada08a.jpg\"><\/div><p class=\"no-margin\">\n<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">Alternatively, you can use the <b><a href=\"\/support\/7978544-how-to-use-the-browser-terminal\" target=\"_blank\" class=\"intercom-content-link\">Browser Terminal<\/a><\/b> feature on your hPanel.<\/p>\n<\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\"><b>Additional Resources<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\"><b><a href=\"https:\/\/www.hostinger.com\/tutorials\/ssh\/basic-ssh-commands\" target=\"_blank\" class=\"intercom-content-link\">Basic SSH commands that you should know about<\/a><\/b><\/p>\n<\/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":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1017\/revisions"}],"predecessor-version":[{"id":4120,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1017\/revisions\/4120"}],"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}]}}