{"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-03-16T12:12:18","modified_gmt":"2026-03-16T12:12:18","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":"<div class=\"intercom-h2b-video\">\n<iframe loading=\"lazy\" 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>\n<\/div><p class=\"no-margin\">SSH access is available for all hosting plans except Single and WordPress Single. If your hosting plan is Premium, WordPress Starter or greater, you can connect via SSH with these simple steps: <\/p><p class=\"no-margin\">\n<\/p><h2 id=\"step-1---preparations\">Step 1 &ndash; Preparations<\/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 href=\"\/support\/1583645-do-i-get-ssh-access-how-to-enable-ssh-access\" target=\"_blank\" class=\"intercom-content-link\">SSH Access page in hPanel<\/a><\/b>.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">After this, copy the <b>SSH Command<\/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\/2019\/02\/0430fc1e-04d2-48cd-8b59-b7ede19a001a.jpg\"><\/div><h2 id=\"step-2---application\">Step 2 &ndash; Application<\/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\">\n<\/p><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\">\n<\/p><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\">\n<\/p><p class=\"no-margin\">We recommend <b><a href=\"https:\/\/www.putty.org\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">PuTTY<\/a> <\/b>(<b><a href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-use-putty-ssh#How-to-Connect-PuTTY\" target=\"_blank\" class=\"intercom-content-link\">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; Connection <\/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.<br>ECDSA key fingerprint is SHA256:Eze2ImXw1MWfgAMbcWxfc2EQwAkgTHOEPsNwSnEAHAQ.<br>Are 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\">\n<\/p><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 href=\"\/support\/5634574-how-to-change-your-ftp-password-on-hpanel\" target=\"_blank\" class=\"intercom-content-link\">set a new password<\/a> for both FTP and SSH<\/b> or create an <b><a href=\"\/support\/6440760-how-to-change-ssh-password-on-hpanel\" target=\"_blank\" class=\"intercom-content-link\">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>&#127881;<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\"><b>NOTES<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\">If the terminal\/console closes immediately after inserting the password, disable SSH access, enable it back, and try re-connecting <\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">You can check some basic SSH commands here: <b><a href=\"\/support\/5822386-ssh-cheat-sheet\" target=\"_blank\" class=\"intercom-content-link\">SSH cheat-sheet<\/a><\/b><\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Logging in to your account with the details found in your control panel via different SSH clients<\/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-PT","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------\/","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":2,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1570\/revisions"}],"predecessor-version":[{"id":6318,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1570\/revisions\/6318"}],"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}]}}