{"id":772,"date":"2018-05-18T03:02:35","date_gmt":"2018-05-18T08:02:35","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=772"},"modified":"2018-05-18T03:02:35","modified_gmt":"2018-05-18T08:02:35","slug":"how-to-set-up-ssh-keys-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/","title":{"rendered":"How To Set Up SSH Keys on CentOS 7"},"content":{"rendered":"<p>We&#8217;ll show you, how to set up SSH Keys on CentOS 7. SSH (Secure Socket Shell) is an open source, UNIX based, network protocol that provides users with a secure and encrypted way to login to remote computers, transfer files securely between the computers (SCP), command execution on remote servers, automate tasks between multiple servers on the network, and much more. SSH supports several authentication methods. In this tutorial we will configure SSH with public key authentication on CentOS 7 VPS, so instead of logging to your CentOS 7 VPS as usual using a username and password, you will be able to authenticate using a trusted SSH key which will increase the security of your server.<!--more--><\/p>\n<h3><strong>Prerequisites<\/strong><\/h3>\n<p>&#8211; Two CentOS 7 servers (local and remote) with OpenSSH installed.<br \/>\n&#8211; SSH root access to the VPS which comes by default with all our VPS hosting plans.<\/p>\n<h3><strong>Create SSH keypar on the local server<\/strong><\/h3>\n<p>Make sure that OpenSSH is installed on both servers. You can check if it is installed with the following command<\/p>\n<pre>ssh -V\r\nOpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017<\/pre>\n<p>In case it is not installed, you can easily install OpenSSH<\/p>\n<pre>yum -y install openssh<\/pre>\n<p>First we will create SSH public and private key on the local server using the ssh-keygen tool provided by OpenSSH. You will be prompted to enter the location of the key. If there is no another key you can use the suggested location. You will be also prompted to enter a passphrase for your private key or leave it empty. Our recommendation is to set a strong passphrase. Run the following command to create a keypair with rsa algorithm:<\/p>\n<pre>ssh-keygen -t rsa<\/pre>\n<pre>Output:<\/pre>\n<pre>Generating public\/private rsa key pair.\r\nEnter file in which to save the key (\/root\/.ssh\/id_rsa):\r\nEnter passphrase (empty for no passphrase):\r\nEnter same passphrase again:\r\nYour identification has been saved in \/root\/.ssh\/id_rsa.\r\nYour public key has been saved in \/root\/.ssh\/id_rsa.pub.\r\nThe key fingerprint is:\r\nSHA256:FwWsYtA474WmEreIPiQnIG39nq7m90oPPvYXg5cjmb0 root@cekov\r\nThe key&#039;s randomart image is:\r\n+---[RSA 2048]----+\r\n| o .... |\r\n| + . .. |\r\n| . . + . .. |\r\n|o + o * o . |\r\n|oo + B oS=.. |\r\n|+.+ o o =.B |\r\n|+o . .o. o = |\r\n| o .o*o E |\r\n| .oo=+=+. |\r\n+----[SHA256]-----+<\/pre>\n<p>This will create 2048 bit keypair in the \/root\/.ssh directory on the local server, as shown above. Once the keypar is created on the local server, we have to copy the public key to the remote system that you want to access via SSH.<\/p>\n<h3><strong>Copy the public key to the remote server<\/strong><\/h3>\n<p>Next, we need to copy the newly created public key to our remote CentOS 7 VPS. We can easily do this using the &#8216;ssh-copy-id&#8217; script.<\/p>\n<pre>ssh-copy-id root@IP_Address -p Port_number<\/pre>\n<p>You should get the following output:<\/p>\n<pre>\/usr\/bin\/ssh-copy-id: INFO: Source of key(s) to be installed: &quot;\/root\/.ssh\/id_rsa.pub&quot;\r\nThe authenticity of host &#039;[IP_ADDRESS]:Port_Number ([IP_ADDRESS]:7022)&#039; can&#039;t be established.\r\nECDSA key fingerprint is SHA256:yHkLjJ\/J3AYiY5Q51UQdi8p8Fpg\/P9frCIHCgu\/NOYg.\r\nECDSA key fingerprint is MD5:96:e8:c6:6e:a0:77:7a:db:e6:d7:04:29:04:8c:50:e1.\r\nAre you sure you want to continue connecting (yes\/no)? yes\r\n\/usr\/bin\/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed\r\n\/usr\/bin\/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys\r\nroot@209.135.157.47&#039;s password:\r\n\r\nNumber of key(s) added: 1\r\n\r\nNow try logging into the machine, with: &quot;ssh -p &#039;Port_Number&#039; &#039;root@IP_ADDRESS&#039;&quot;\r\nand check to make sure that only the key(s) you wanted were added.<\/pre>\n<p>Where IP_ADDRESS is the actual IP address of the remote server. The public key is successfully added and you should be able to login to the remote CentOS 7 VPS without entering a username and password. Run the following command<\/p>\n<pre>ssh -p &#039;Port_Number&#039; &#039;root@IP_ADDRESS&#039;<\/pre>\n<p>That&#8217;s all. If you closely followed the tutorial, you successfully configured SSH passwordless authentication between two CentOS servers. Additionally, you can strengthen the security of your server even more by disabling password authentication. To do this, open the SSH configuration file and set the PasswordAuthentication to no, as shown below<\/p>\n<pre>nano \/etc\/ssh\/sshd_config\r\n\r\nPasswordAuthentication no<\/pre>\n<p>Save the file and restart the SSH server for the changes to take effect.<\/p>\n<pre>systemctl restart sshd<\/pre>\n<hr \/>\n<p>Of course you don\u2019t have to set up SSH keys on CentOS 7, if you use one of our <a href=\"https:\/\/www.linuxcloudvps.com\/ubuntu-cloud-vps.html\">managed Ubuntu Hosting<\/a>, in which case you can simply ask our expert Linux admins to configure SSH keys for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span> If you liked this post, on how to set up SSH keys on CentOS 7, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ll show you, how to set up SSH Keys on CentOS 7. SSH (Secure Socket Shell) is an open source, UNIX based, network protocol that provides users with a secure and encrypted way to login to remote computers, transfer files securely between the computers (SCP), command execution on remote servers, automate tasks between multiple servers &#8230; <a title=\"How To Set Up SSH Keys on CentOS 7\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/\" aria-label=\"More on How To Set Up SSH Keys on CentOS 7\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":773,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[22,121],"class_list":["post-772","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-centos","tag-ssh"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Set Up SSH Keys on CentOS 7 | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"We&#039;ll show you, how to set up SSH Keys on CentOS 7. SSH (Secure Socket Shell) is an open source, UNIX based, network protocol that provides users with a\" \/>\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.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Set Up SSH Keys on CentOS 7 | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"We&#039;ll show you, how to set up SSH Keys on CentOS 7. SSH (Secure Socket Shell) is an open source, UNIX based, network protocol that provides users with a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-18T08:02:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/05\/How-to-Set-Up-SSH-Keys-on-CentOS-7.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-set-up-ssh-keys-on-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-set-up-ssh-keys-on-centos-7\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How To Set Up SSH Keys on CentOS 7\",\"datePublished\":\"2018-05-18T08:02:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-set-up-ssh-keys-on-centos-7\\\/\"},\"wordCount\":542,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-set-up-ssh-keys-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/How-to-Set-Up-SSH-Keys-on-CentOS-7.jpg\",\"keywords\":[\"centos\",\"ssh\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-set-up-ssh-keys-on-centos-7\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-set-up-ssh-keys-on-centos-7\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-set-up-ssh-keys-on-centos-7\\\/\",\"name\":\"How To Set Up SSH Keys on CentOS 7 | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-set-up-ssh-keys-on-centos-7\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-set-up-ssh-keys-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/How-to-Set-Up-SSH-Keys-on-CentOS-7.jpg\",\"datePublished\":\"2018-05-18T08:02:35+00:00\",\"description\":\"We'll show you, how to set up SSH Keys on CentOS 7. SSH (Secure Socket Shell) is an open source, UNIX based, network protocol that provides users with a\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-set-up-ssh-keys-on-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-set-up-ssh-keys-on-centos-7\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-set-up-ssh-keys-on-centos-7\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/How-to-Set-Up-SSH-Keys-on-CentOS-7.jpg\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/How-to-Set-Up-SSH-Keys-on-CentOS-7.jpg\",\"width\":600,\"height\":300,\"caption\":\"How To Set Up SSH Keys on CentOS 7\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-set-up-ssh-keys-on-centos-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Set Up SSH Keys on CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Set Up SSH Keys on CentOS 7 | LinuxCloudVPS Blog","description":"We'll show you, how to set up SSH Keys on CentOS 7. SSH (Secure Socket Shell) is an open source, UNIX based, network protocol that provides users with a","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.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How To Set Up SSH Keys on CentOS 7 | LinuxCloudVPS Blog","og_description":"We'll show you, how to set up SSH Keys on CentOS 7. SSH (Secure Socket Shell) is an open source, UNIX based, network protocol that provides users with a","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2018-05-18T08:02:35+00:00","og_image":[{"width":600,"height":300,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/05\/How-to-Set-Up-SSH-Keys-on-CentOS-7.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How To Set Up SSH Keys on CentOS 7","datePublished":"2018-05-18T08:02:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/"},"wordCount":542,"commentCount":0,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/05\/How-to-Set-Up-SSH-Keys-on-CentOS-7.jpg","keywords":["centos","ssh"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/","name":"How To Set Up SSH Keys on CentOS 7 | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/05\/How-to-Set-Up-SSH-Keys-on-CentOS-7.jpg","datePublished":"2018-05-18T08:02:35+00:00","description":"We'll show you, how to set up SSH Keys on CentOS 7. SSH (Secure Socket Shell) is an open source, UNIX based, network protocol that provides users with a","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/05\/How-to-Set-Up-SSH-Keys-on-CentOS-7.jpg","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/05\/How-to-Set-Up-SSH-Keys-on-CentOS-7.jpg","width":600,"height":300,"caption":"How To Set Up SSH Keys on CentOS 7"},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-set-up-ssh-keys-on-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Set Up SSH Keys on CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/772","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=772"}],"version-history":[{"count":1,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/772\/revisions"}],"predecessor-version":[{"id":774,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/772\/revisions\/774"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/773"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}