{"id":1027,"date":"2021-10-08T13:27:51","date_gmt":"2021-10-08T13:27:51","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2021\/10\/08\/5634532-how-to-generate-ssh-keys-and-add-them-to-hostinger-hpanel\/"},"modified":"2026-09-16T01:08:07","modified_gmt":"2026-09-16T01:08:07","slug":"5634532-how-to-generate-ssh-keys-and-add-them-to-hostinger-dashboard","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/5634532-how-to-generate-ssh-keys-and-add-them-to-hostinger-dashboard\/","title":{"rendered":"How to generate SSH keys and add them to Hostinger dashboard"},"content":{"rendered":"<p class=\"no-margin\">SSH is a very convenient and fast way to manage your hosting account if you have a <b>Premium<\/b> or above plan. To make it even faster and more secure, we <b>highly recommend <\/b>generating SSH keys and adding them to your Hostinger dashboard.<\/p><h2 id=\"h_1a752ac1d3\">Step 1 &mdash; Generate the keys<\/h2><p class=\"no-margin\">Depending on your system, there are these ways to generate SSH keys:<\/p><ul>\n<li>\n<p class=\"no-margin\"><b>Windows<\/b> &mdash; for Windows, you can use SSH clients such as <b><a class=\"intercom-content-link\" href=\"https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html\" target=\"_blank\" rel=\"noopener\">PuTTY<\/a><\/b>; refer to<b> steps 1-3<\/b> in this tutorial: <b><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-generate-ssh-keys-on-putty\/\" target=\"_blank\" rel=\"noopener\">How to Generate SSH Keys on PuTTY<\/a>.<\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Unix-based systems <\/b>(e.g., macOS or Ubuntu) &mdash; you can generate SSH keys <b>straight from the terminal<\/b>; refer to <b>step 1<\/b> in this tutorial: <b><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/tutorials\/ssh\/how-to-set-up-ssh-keys\/\" target=\"_blank\" rel=\"noopener\">How to Set Up SSH Keys<\/a>.<\/b><\/p>\n<\/li>\n<\/ul><h2 id=\"h_4c43791a9d\">Step 2 &mdash; Add keys to Hostinger dashboard<\/h2><p class=\"no-margin\">Once you have your keys generated, all you need to do is open the <b>Public key<\/b> (usually <b>id_rsa.pub<\/b>) with any text editor and copy all of its contents.<\/p><p class=\"no-margin\">Then go to the <b><a class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" rel=\"noopener\">Websites<\/a> <\/b>section in your Hostinger account, click on<b> Dashboard <\/b>next to your site, search for <b>SSH access<\/b> on the sidebar, and click on it:<br>\n&#8203;<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/10\/aa48104d-f18c-41b1-9e27-200260dd1eaf.jpg\" alt=\"Hostinger hPanel menu with SSH Access highlighted under Advanced\" width=\"250\" data-media-id=\"4145\"><\/div><p class=\"no-margin\">Scroll down and click on <b>Add SSH key<\/b>:<\/p><div class=\"intercom-container\"><img decoding=\"async\" class=\"alignnone size-full wp-image-18226\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-16_08-05.png\" alt=\"\" width=\"1135\" height=\"487\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-16_08-05.png 1135w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-16_08-05-300x129.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-16_08-05-1024x439.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-16_08-05-768x330.png 768w\" sizes=\"(max-width: 1135px) 100vw, 1135px\" \/><\/div><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">Make sure to <b><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/1583645-how-to-enable-ssh-access-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">enable SSH access<\/a><\/b> before adding the SSH key.<\/p>\n<\/div><p class=\"no-margin\">Insert the <b>name <\/b>by which your SSH key will be saved, the <b>public key<\/b> itself, and click on <b>Add record<\/b>:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone size-full wp-image-18227\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-16_08-06.png\" alt=\"\" width=\"588\" height=\"538\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-16_08-06.png 588w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-16_08-06-300x274.png 300w\" sizes=\"(max-width: 588px) 100vw, 588px\" \/><\/div><p class=\"no-margin\">That&rsquo;s it! Now that the SSH key is added, an SSH password won&rsquo;t be needed when <b><a class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/1583245-how-to-connect-to-a-hosting-plan-via-ssh-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">logging in to your server<\/a><\/b>.<\/p><p class=\"no-margin\">All the added SSH keys will be displayed on the same page, from where you can <b>edit or delete<\/b> them:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone size-full wp-image-18228\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-16_08-06_1.png\" alt=\"\" width=\"997\" height=\"285\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-16_08-06_1.png 997w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-16_08-06_1-300x86.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/09\/2026-09-16_08-06_1-768x220.png 768w\" sizes=\"(max-width: 997px) 100vw, 997px\" \/><\/div><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">Only the <b>Public key<\/b> has to be added to Hostinger dashboard. <b>Never share your Private key with anyone<\/b>. Your Private key should be kept on your local device only.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Generating SSH keys and adding them to Hostinger dashboard<\/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-1027","post","type-post","status-publish","format-standard","hentry","category-ssh-connection-and-ssh-keys"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/5634532-how-to-generate-ssh-keys-and-add-them-to-hostinger-hpanel\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/5634532-como-generar-claves-ssh-y-anadirlas-a-hpanel-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/5634532-comment-generer-des-cles-ssh-et-les-ajouter-a-hpanel-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/5634532-cara-membuat-dan-menambahkan-ssh-keys-di-hpanel-hostinger\/","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/5634532-como-gerar-chaves-ssh-e-adiciona-las-ao-hpanel-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/5634532---ssh------hpanel\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1027","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=1027"}],"version-history":[{"count":5,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1027\/revisions"}],"predecessor-version":[{"id":18229,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1027\/revisions\/18229"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}