{"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-03-16T12:12:11","modified_gmt":"2026-03-16T12:12:11","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":"<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><p class=\"no-margin\">\n<\/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 href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-set-up-ssh-keys\" target=\"_blank\" class=\"intercom-content-link\">How to Set Up SSH Keys<\/a><\/b>. You can add it to your VPS during the onboarding process:<\/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\/01\/dd120ea0-21d7-44a5-ac8f-875cc5336b58.jpg\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Alternatively, you can add it later from the <b><a href=\"https:\/\/hpanel.hostinger.com\/servers\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">VPS<\/a><\/b> section of your hPanel. Head to the VPS section on your hPanel dashboard, find your server and click on <b>Manage<\/b>.<\/p><p class=\"no-margin\">\n<\/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><p class=\"no-margin\">\n<\/p><div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/01\/580a7ced-ead3-40a8-af92-77f72d4b8945.jpg\"><\/div><p class=\"no-margin\">\n<\/p><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 class=\"no-margin\">\n<\/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 href=\"https:\/\/www.hostinger.com\/tutorials\/vps\/\" target=\"_blank\" class=\"intercom-content-link\">VPS Tutorials<\/a> <\/b>and<b> <\/b><b><a href=\"https:\/\/support.hostinger.com\/en\/collections\/944797-vps\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Knowledge Base articles<\/a><\/b><\/p>\n<\/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-PT","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":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1103\/revisions"}],"predecessor-version":[{"id":4411,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1103\/revisions\/4411"}],"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}]}}