{"id":7184,"date":"2022-09-07T11:14:56","date_gmt":"2022-09-07T16:14:56","guid":{"rendered":"https:\/\/www.knownhost.com\/kb\/?p=7184"},"modified":"2022-09-07T11:14:57","modified_gmt":"2022-09-07T16:14:57","slug":"how-to-add-ssh-keys-for-vps","status":"publish","type":"post","link":"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/","title":{"rendered":"How to add SSH keys for VPS?"},"content":{"rendered":"\n<p>One of the most common security tips for Linux servers is to disable password authentication for root and use SSH Keys. SSH Keys allow you to login as that specified user without the need for a password. This functionality helps you add and manage SSH Keys for the \u2018root\u2019 user on your server.<\/p>\n\n\n\n<p>This will be the information from the public key, i.e \u2018<em>\/home\/example\/.ssh\/id_rsa.pub<\/em>\u2019<\/p>\n\n\n\n<p>If you need to create an SSH Key, check out our\u00a0<a href=\"https:\/\/www.knownhost.com\/kb\/ssh-key-generation\/\">SSH Key Generation<\/a>\u00a0guide. Let&#8217;s learn, how to add SSH keys for VPS.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p>1. First, login into Billing Portal (<a href=\"https:\/\/my.knownhost.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">my.knownhost.com<\/a>) with registered email address and password.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"977\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/08\/enter-username-and-password-1-1024x977.jpg\" alt=\"enter username and password\" class=\"wp-image-6914\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/08\/enter-username-and-password-1-1024x977.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/08\/enter-username-and-password-1-300x286.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/08\/enter-username-and-password-1-768x732.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/08\/enter-username-and-password-1.jpg 1294w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>2. In the Navigation tray, you can find the option \u201c<strong>Services<\/strong>\u201d click on that or you can navigate to&nbsp;<strong>Dashboard<\/strong>&nbsp;<strong>\u2192<\/strong>&nbsp;<strong>Click<\/strong>&nbsp;on&nbsp;<strong>Services<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/08\/navigate-to-services-knownhost-billing-portal-1024x625.jpg.webp\" alt=\"navigate to services knownhost billing portal\" class=\"wp-image-7013\" \/><\/figure>\n\n\n\n<p>3. Locate the&nbsp;<strong>VPS<\/strong>&nbsp;<strong>\u2192<\/strong>&nbsp;<strong>Click<\/strong>&nbsp;on&nbsp;<strong>Manage<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"500\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/click-on-manage-vps-to-view-vps-node--1024x500.jpg\" alt=\"click on manage vps to view vps node\" class=\"wp-image-7110\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/click-on-manage-vps-to-view-vps-node--1024x500.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/click-on-manage-vps-to-view-vps-node--300x146.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/click-on-manage-vps-to-view-vps-node--768x375.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/click-on-manage-vps-to-view-vps-node--1536x750.jpg 1536w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/click-on-manage-vps-to-view-vps-node--2048x1000.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>4.&nbsp;<strong>Navigate<\/strong>&nbsp;to&nbsp;<strong>Control<\/strong>&nbsp;<strong>Panel<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"433\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-control-panel-of-the-vps-1024x433.jpg\" alt=\"navigate to control panel of the vps\" class=\"wp-image-7108\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-control-panel-of-the-vps-1024x433.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-control-panel-of-the-vps-300x127.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-control-panel-of-the-vps-768x325.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-control-panel-of-the-vps-1536x650.jpg 1536w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-control-panel-of-the-vps.jpg 1896w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>5. Scroll down a bit,&nbsp;<strong>navigate<\/strong>&nbsp;to&nbsp;<strong>Settings<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"613\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-control-panel-settings-vps-root-1024x613.jpg\" alt=\"navigate to control panel settings vps root\" class=\"wp-image-7123\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-control-panel-settings-vps-root-1024x613.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-control-panel-settings-vps-root-300x180.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-control-panel-settings-vps-root-768x460.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-control-panel-settings-vps-root-1536x919.jpg 1536w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-control-panel-settings-vps-root.jpg 1896w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>6. Again,\u00a0<strong>navigate<\/strong>\u00a0to\u00a0<strong>SSH Keys<\/strong>\u00a0\u2192 <strong>Click<\/strong> on<strong> Add<\/strong> <strong>New<\/strong> <strong>SSH Key<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"531\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-ssh-keys-and-add-new-ssh-key-1024x531.jpg\" alt=\"navigate to ssh keys and add new ssh key\" class=\"wp-image-7187\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-ssh-keys-and-add-new-ssh-key-1024x531.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-ssh-keys-and-add-new-ssh-key-300x155.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-ssh-keys-and-add-new-ssh-key-768x398.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-ssh-keys-and-add-new-ssh-key-1536x796.jpg 1536w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/navigate-to-ssh-keys-and-add-new-ssh-key-2048x1061.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>7. Next, <strong>enter<\/strong> the <strong>Name<\/strong> for the SSH Key and <strong>Paste<\/strong> the generated <strong>public<\/strong> <strong>key<\/strong> in the text box.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"664\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/enter-name-and-paste-the-public-key-1024x664.jpg\" alt=\"enter name and paste the public key\" class=\"wp-image-7185\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/enter-name-and-paste-the-public-key-1024x664.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/enter-name-and-paste-the-public-key-300x194.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/enter-name-and-paste-the-public-key-768x498.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/enter-name-and-paste-the-public-key-1536x996.jpg 1536w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/enter-name-and-paste-the-public-key.jpg 1879w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>8. Finally, <strong>click<\/strong> on <strong>Add<\/strong> <strong>SSH<\/strong> <strong>Key<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"664\" src=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/how-to-add-ssh-key-for-vps-in-knownhost-1024x664.jpg\" alt=\"how to add ssh key for vps in knownhost\" class=\"wp-image-7186\" srcset=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/how-to-add-ssh-key-for-vps-in-knownhost-1024x664.jpg 1024w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/how-to-add-ssh-key-for-vps-in-knownhost-300x194.jpg 300w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/how-to-add-ssh-key-for-vps-in-knownhost-768x498.jpg 768w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/how-to-add-ssh-key-for-vps-in-knownhost-1536x996.jpg 1536w, https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/09\/how-to-add-ssh-key-for-vps-in-knownhost.jpg 1879w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Once the key has been added, you can then login to the server without requiring the root password.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Now that we\u2019ve gone over it, how to add SSH keys for the ordered VPS in KnownHost. This is the initial step of server hardening and general practice to secure the web server by a Linux administrator.<\/p>\n\n\n\n<p>KnownHost offers 365 days a year, 24 hours a day, all 7 days of the week best in class technical support. A dedicated team ready to help you with requests should you need our assistance. You\u2019re not using KnownHost for the best webhosting experience? Well, why not? Check with&nbsp;<a href=\"https:\/\/www.knownhost.com\/contact\">our Sales team<\/a>&nbsp;to see what can&nbsp;<a href=\"https:\/\/www.knownhost.com\/\">KnownHost<\/a>&nbsp;do for you in improving your webhosting experience.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the most common security tips for Linux servers is to disable password authentication for root and use SSH Keys. SSH Keys allow you to login as that specified user without the need for a password. This functionality helps you add and manage SSH Keys for the \u2018root\u2019 user on your server. This will [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[102],"tags":[649,123,648,159],"class_list":["post-7184","post","type-post","status-publish","format-standard","hentry","category-my-knownhost","tag-key","tag-linux","tag-passwordless-authentication","tag-ssh"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to add SSH keys for VPS? - KnownHost<\/title>\n<meta name=\"description\" content=\"Secure the direct login for your Linux VPS. Learn more about how you can add SSH keys for the VPS to perform passwordless authentication.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to add SSH keys for VPS? - KnownHost\" \/>\n<meta property=\"og:description\" content=\"Secure the direct login for your Linux VPS. Learn more about how you can add SSH keys for the VPS to perform passwordless authentication.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"KnownHost\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-07T16:14:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-07T16:14:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/08\/enter-username-and-password-1-1024x977.jpg\" \/>\n<meta name=\"author\" content=\"Somesh Z\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Somesh Z\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-add-ssh-keys-for-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-add-ssh-keys-for-vps\\\/\"},\"author\":{\"name\":\"Somesh Z\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\"},\"headline\":\"How to add SSH keys for VPS?\",\"datePublished\":\"2022-09-07T16:14:56+00:00\",\"dateModified\":\"2022-09-07T16:14:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-add-ssh-keys-for-vps\\\/\"},\"wordCount\":330,\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-add-ssh-keys-for-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/enter-username-and-password-1-1024x977.jpg\",\"keywords\":[\"key\",\"linux\",\"passwordless authentication\",\"ssh\"],\"articleSection\":[\"My KnownHost\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-add-ssh-keys-for-vps\\\/\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-add-ssh-keys-for-vps\\\/\",\"name\":\"How to add SSH keys for VPS? - KnownHost\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-add-ssh-keys-for-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-add-ssh-keys-for-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/enter-username-and-password-1-1024x977.jpg\",\"datePublished\":\"2022-09-07T16:14:56+00:00\",\"dateModified\":\"2022-09-07T16:14:57+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\"},\"description\":\"Secure the direct login for your Linux VPS. Learn more about how you can add SSH keys for the VPS to perform passwordless authentication.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-add-ssh-keys-for-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-add-ssh-keys-for-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-add-ssh-keys-for-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/enter-username-and-password-1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/enter-username-and-password-1.jpg\",\"width\":1294,\"height\":1234,\"caption\":\"enter username and password\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/how-to-add-ssh-keys-for-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to add SSH keys for VPS?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/\",\"name\":\"KnownHost\",\"description\":\"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knownhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/8b518f13cf69dd00d147e577d63ff3b1\",\"name\":\"Somesh Z\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g\",\"caption\":\"Somesh Z\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to add SSH keys for VPS? - KnownHost","description":"Secure the direct login for your Linux VPS. Learn more about how you can add SSH keys for the VPS to perform passwordless authentication.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/","og_locale":"en_US","og_type":"article","og_title":"How to add SSH keys for VPS? - KnownHost","og_description":"Secure the direct login for your Linux VPS. Learn more about how you can add SSH keys for the VPS to perform passwordless authentication.","og_url":"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/","og_site_name":"KnownHost","article_published_time":"2022-09-07T16:14:56+00:00","article_modified_time":"2022-09-07T16:14:57+00:00","og_image":[{"url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/08\/enter-username-and-password-1-1024x977.jpg","type":"","width":"","height":""}],"author":"Somesh Z","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Somesh Z","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/#article","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/"},"author":{"name":"Somesh Z","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1"},"headline":"How to add SSH keys for VPS?","datePublished":"2022-09-07T16:14:56+00:00","dateModified":"2022-09-07T16:14:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/"},"wordCount":330,"image":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/08\/enter-username-and-password-1-1024x977.jpg","keywords":["key","linux","passwordless authentication","ssh"],"articleSection":["My KnownHost"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/","url":"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/","name":"How to add SSH keys for VPS? - KnownHost","isPartOf":{"@id":"https:\/\/www.knownhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/08\/enter-username-and-password-1-1024x977.jpg","datePublished":"2022-09-07T16:14:56+00:00","dateModified":"2022-09-07T16:14:57+00:00","author":{"@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1"},"description":"Secure the direct login for your Linux VPS. Learn more about how you can add SSH keys for the VPS to perform passwordless authentication.","breadcrumb":{"@id":"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/#primaryimage","url":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/08\/enter-username-and-password-1.jpg","contentUrl":"https:\/\/www.knownhost.com\/kb\/wp-content\/uploads\/2022\/08\/enter-username-and-password-1.jpg","width":1294,"height":1234,"caption":"enter username and password"},{"@type":"BreadcrumbList","@id":"https:\/\/www.knownhost.com\/kb\/how-to-add-ssh-keys-for-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knownhost.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to add SSH keys for VPS?"}]},{"@type":"WebSite","@id":"https:\/\/www.knownhost.com\/kb\/#website","url":"https:\/\/www.knownhost.com\/kb\/","name":"KnownHost","description":"KnownHost provides a comprehensive webhosting knowledge base to help answer many of your common webhosting and linux questions.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knownhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.knownhost.com\/kb\/#\/schema\/person\/8b518f13cf69dd00d147e577d63ff3b1","name":"Somesh Z","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/276c97317c2d6905cc5a1bd9ceb10a0fd121cc4da22126f648fa88f95dcf32dd?s=96&d=mm&r=g","caption":"Somesh Z"}}]}},"_links":{"self":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/7184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/comments?post=7184"}],"version-history":[{"count":0,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/posts\/7184\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/media?parent=7184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/categories?post=7184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knownhost.com\/kb\/wp-json\/wp\/v2\/tags?post=7184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}