{"id":1103,"date":"2021-01-13T15:51:16","date_gmt":"2021-01-13T15:51:16","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2021\/01\/13\/4792364-how-to-use-ssh-keys-at-hostinger-vps\/"},"modified":"2026-10-09T08:28:15","modified_gmt":"2026-10-09T08:28:15","slug":"4792364-how-to-use-ssh-keys-at-hostinger-vps","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/4792364-how-to-use-ssh-keys-at-hostinger-vps\/","title":{"rendered":"How to use SSH keys at Hostinger VPS"},"content":{"rendered":"<p>To use SSH keys on a Hostinger VPS, generate an SSH key, then add it during onboarding or later from the SSH keys tab in the Settings page of the VPS dashboard. You can delete a key and add a new one at any time.<\/p><h2 id=\"what-are-ssh-keys-\">What are SSH keys?<\/h2><p class=\"no-margin\">An SSH key is an access credential in the Secure Shell protocol. Its function is similar to that of usernames and passwords, except that the keys are primarily used for automated processes and for implementing single sign-on by system administrators and power users.<\/p><h2 id=\"how-to-set-up-ssh-keys\">How to set up SSH keys<\/h2><p class=\"no-margin\">First, generate an SSH key by referring to this comprehensive tutorial: <b><a data-click-id=\"hgr-post-content-link-how-to-set-up-ssh-keys\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-set-up-ssh-keys\/\" target=\"_blank\" rel=\"noopener\">How to Set Up SSH Keys<\/a><\/b>. You can add it to your VPS during the onboarding process:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/01\/dd120ea0-21d7-44a5-ac8f-875cc5336b58.jpg\" alt=\"Hostinger VPS add SSH key form with the SSH key field filled with an RSA public key\" data-media-id=\"4406\"><\/div><p class=\"no-margin\">Alternatively, you can add it later from the <b><a data-click-id=\"hgr-post-content-link-vps\" class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/servers\/\" target=\"_blank\" rel=\"noopener\">VPS<\/a><\/b> section of your Hostinger dashboard. Head to the VPS section on your Hostinger dashboard, find your server and click on <b>Manage<\/b>.<\/p><p class=\"no-margin\">Then, navigate to the <b>Settings<\/b> page from the sidebar, select the SSH keys tab, and click on <b>Add SSH key<\/b>:<\/p><div class=\"intercom-container\"><img decoding=\"async\" class=\"alignnone size-full wp-image-20165\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-09_15-27.png\" alt=\"\" width=\"1642\" height=\"649\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-09_15-27.png 1642w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-09_15-27-300x119.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-09_15-27-1024x405.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-09_15-27-768x304.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-09_15-27-1536x607.png 1536w\" sizes=\"(max-width: 1642px) 100vw, 1642px\" \/><\/div><p class=\"no-margin\">Once it&rsquo;s added, you can delete it and add a new one whenever needed by clicking on the <b>Delete<\/b> button next to the added key.<\/p><p>Your SSH key is now added to your VPS, and you can use it to connect over SSH.<\/p><p class=\"no-margin\"><b>Additional resources<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\">Feel free to check our collection of <b><a data-click-id=\"hgr-post-content-link-vps-tutorials\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/tutorials\/vps\/\" target=\"_blank\" rel=\"noopener\">VPS Tutorials<\/a> <\/b>and<b> <\/b><b><a data-click-id=\"hgr-post-content-link-knowledge-base-articles\" class=\"intercom-content-link\" href=\"https:\/\/support.hostinger.com\/en\/collections\/944797-vps\" target=\"_blank\" rel=\"noopener\">Knowledge Base articles.<\/a><\/b><\/p>\n<\/li>\n<li>See <a data-click-id=\"hgr-post-content-link-how-to-connect-to-your-hostinger-vps-via-ssh\" href=\"https:\/\/www.hostinger.com\/support\/5723772-how-to-connect-to-your-vps-via-ssh-at-hostinger\/\">How to connect to your Hostinger VPS via SSH<\/a> for other details about connecting to your VPS over SSH.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Setting up SSH keys on your VPS<\/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-1103","post","type-post","status-publish","format-standard","hentry","category-vps-management"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/4792364-how-to-use-ssh-keys-at-hostinger-vps","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/4792364-como-usar-llaves-ssh-en-vps-en-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/4792364-comment-utiliser-les-cles-ssh-sur-vps-chez-hostinger","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/4792364-bagaimana-cara-menggunakan-ssh-key-di-vps-di-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/4792364-como-usar-as-chaves-ssh-no-vps-na-hostinger","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1103","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=1103"}],"version-history":[{"count":4,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1103\/revisions"}],"predecessor-version":[{"id":20167,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1103\/revisions\/20167"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}