{"id":1570,"date":"2019-02-08T10:35:54","date_gmt":"2019-02-08T10:35:54","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/02\/08\/1583245-how-to-connect-to-a-hosting-plan-via-ssh-in-hostinger\/"},"modified":"2026-09-15T10:20:58","modified_gmt":"2026-09-15T10:20:58","slug":"1583245-how-to-connect-to-a-hosting-plan-via-ssh-in-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/1583245-how-to-connect-to-a-hosting-plan-via-ssh-in-hostinger\/","title":{"rendered":"How to connect to a hosting plan via SSH in Hostinger"},"content":{"rendered":"<p class=\"no-margin\">Connect to your hosting plan via SSH to access your account directly from the command line, using the login details found in Hostinger dashboard. SSH access is available on Premium Web higher plans &mdash; it isn&rsquo;t available on Single Web plans.<\/p><h2 id=\"step-1---preparations\">Step 1 &ndash; Enable SSH access and copy the SSH command<\/h2><p class=\"no-margin\">The first thing you will need to do is enable SSH access. It can be done from your <b><a data-click-id=\"hgr-post-content-link-ssh-access-page-in-hostinger-dashboard\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/1583645-how-to-enable-ssh-access-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">SSH Access page in Hostinger dashboard<\/a><\/b>.<\/p><p class=\"no-margin\">After this, copy the <b>SSH Command<\/b>:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone size-full wp-image-15936\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-18_16-28.png\" alt=\"\" width=\"1146\" height=\"278\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-18_16-28.png 1146w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-18_16-28-300x73.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-18_16-28-1024x248.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-18_16-28-768x186.png 768w\" sizes=\"(max-width: 1146px) 100vw, 1146px\" \/><\/div><h2 id=\"step-2---application\">Step 2 &ndash; Choose an SSH client for your operating system<\/h2><div class=\"intercom-interblocks-table-container\">\n<table role=\"presentation\">\n<tbody>\n<tr>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"intercom-align-center no-margin\"><b>Linux<\/b><\/p>\n<\/td>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"intercom-align-center no-margin\"><b>macOS<\/b><\/p>\n<\/td>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"intercom-align-center no-margin\"><b>Windows<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"no-margin\">You can use <b>Terminal <\/b>for SSH connection<\/p>\n<p class=\"no-margin\">To run it, click <b>Ctrl + Alt + T <\/b>or <b>Search <\/b>&rarr; <b>Terminal<\/b><\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">You can use <b>Terminal <\/b>for SSH connection<\/p>\n<p class=\"no-margin\">To run it, search for <b>Terminal<\/b> in <b>Spotlight<\/b><\/p>\n<\/td>\n<td>\n<p class=\"no-margin\">You can use<b> any SSH client<\/b> available<\/p>\n<p class=\"no-margin\">We recommend <b><a data-click-id=\"hgr-post-content-link-putty\" class=\"intercom-content-link\" href=\"https:\/\/www.putty.org\/\" target=\"_blank\" rel=\"noopener\">PuTTY<\/a> <\/b>(<b><a data-click-id=\"hgr-post-content-link-full-tutorial\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-use-putty-ssh\/#How-to-Connect-PuTTY\" target=\"_blank\" rel=\"noopener\">full tutorial<\/a><\/b>), <b>PenguiNet<\/b>, or connecting via <b>PowerShell<\/b><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div><h2 id=\"step-3---connection-\">Step 3 &ndash; Connect to your hosting plan via SSH<\/h2><p class=\"no-margin\">In the case of Terminal, insert the command you copied in the first step. For PuTTY, insert the parameters as described in the tutorial. In both cases, you will see the result like this:<\/p><pre><code>The authenticity of host '[185.185.185.185]:65002 ([185.185.185.185]:65002)' can't be established.\r\nECDSA key fingerprint is SHA256:Eze2ImXw1MWfgAMbcWxfc2EQwAkgTHOEPsNwSnEAHAQ.\r\nAre you sure you want to continue connecting (yes\/no)? <\/code><\/pre><p class=\"no-margin\">This is an expected result; just type <code>yes<\/code>.<\/p><p class=\"no-margin\">Then, you will be asked to insert the password:<\/p><pre><code>u123456789@185.185.185.185's password:<\/code><\/pre><p class=\"no-margin\"><b>NOTES<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\">For security purposes, the password won&rsquo;t be displayed, even as &bull;&bull;&bull;&bull;&bull;, but data is still inserted. Don&rsquo;t worry about not seeing symbols; insert the password and press Enter<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Password can be copied and pasted with the right-click of a computer mouse. On Windows, it inserts the password immediately; On Linux &ndash; opens a menu with actions<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">The SSH password is the same as the FTP password of your main domain. If you are not sure about the exact value, you can <b><a data-click-id=\"hgr-post-content-link-set-a-new-password\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/5634574-how-to-change-your-ftp-password-on-hostinger-hpanel\/\" target=\"_blank\" rel=\"noopener\">set a new password<\/a> for both FTP and SSH<\/b> or create an <b><a data-click-id=\"hgr-post-content-link-ssh-only-password\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/6440760-how-to-change-an-ssh-password-on-hostinger-hpanel\/\" target=\"_blank\" rel=\"noopener\">SSH-only password<\/a><\/b><\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">As soon as you insert the password and press Enter, you will see this text from the next line:<\/p><pre><code>-bash-4.2$<\/code><\/pre><p class=\"no-margin\">It means that you <b>successfully logged into your account via SSH!<\/b><\/p><p class=\"no-margin\"><b>NOTES<\/b><\/p><ul>\n<li>Once connected, you can <a data-click-id=\"hgr-post-content-link-download-a-websites-backup-via-ssh\" href=\"https:\/\/www.hostinger.com\/support\/8535692-how-to-download-a-particular-website-s-backup-via-ssh-in-hostinger\/\">download a website&rsquo;s backup via SSH<\/a> or <a data-click-id=\"hgr-post-content-link-upload-a-backup-using-ssh\" href=\"https:\/\/www.hostinger.com\/support\/4466851-how-to-upload-a-backup-using-ssh-at-hostinger\/\">upload a backup using SSH<\/a> if you need to manage backups directly from the command line.<\/li>\n<li><a data-click-id=\"hgr-post-content-link-use-composer-via-ssh\" href=\"https:\/\/www.hostinger.com\/support\/5792078-how-to-use-composer-at-hostinger\/\">Use Composer via SSH<\/a> to install and manage PHP dependencies for your website.<\/li>\n<li>If the terminal\/console closes immediately after inserting the password, disable SSH access, enable it back, and try re-connecting<\/li>\n<li>You can check some basic SSH commands here: <b><a data-click-id=\"hgr-post-content-link-ssh-cheat-sheet\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/5822386-common-ssh-commands-at-hostinger\/\" target=\"_blank\" rel=\"noopener\">SSH cheat-sheet<\/a><\/b><\/li>\n<\/ul><div class=\"intercom-h2b-video\">\n<p><iframe title=\"How to Manage Your Files via SSH (in 5 minutes)\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/dRXbitcNAWI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to get SSH access to your Hostinger hosting plan and connect using the SSH client for your operating system.<\/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":[235],"tags":[],"class_list":["post-1570","post","type-post","status-publish","format-standard","hentry","category-ssh-connection-and-ssh-keys"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583245-how-to-connect-to-a-hosting-plan-via-ssh-in-hostinger","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583245-como-conectarte-a-tu-cuenta-por-ssh-en-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583245-comment-se-connecter-a-votre-compte-via-ssh-chez-hostinger","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583245-cara-menghubungkan-akun-melalui-ssh-di-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/1583245-como-se-conectar-a-sua-conta-via-ssh-hostinger","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583245-\u044f\u043a-\u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0438\u0441\u044f-\u0434\u043e-\u0445\u043e\u0441\u0442\u0438\u043d\u0433-\u0442\u0430\u0440\u0438\u0444\u0443-\u0447\u0435","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1570","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=1570"}],"version-history":[{"count":6,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1570\/revisions"}],"predecessor-version":[{"id":15940,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1570\/revisions\/15940"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}