{"id":547,"date":"2022-09-04T00:03:28","date_gmt":"2022-09-04T06:03:28","guid":{"rendered":"https:\/\/rewaant.com\/blog\/?p=547"},"modified":"2022-09-13T10:14:15","modified_gmt":"2022-09-13T16:14:15","slug":"setup-ssh-keys-on-your-linux-server","status":"publish","type":"post","link":"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/","title":{"rendered":"How to setup SSH keys on your Linux server"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\">\n<h3 class=\"table-of-contents wp-block-heading\">Table of Contents<\/h3>\n\n\n\n<ol class=\"table-of-contents-list wp-block-list\"><li><a href=\"#overview\">Overview<\/a><\/li><li><a href=\"#getting-started\">Getting Started<\/a><\/li><li><a href=\"#main-conf\">Main Configuration<\/a><\/li><li><a href=\"#conclusion\">Conclusion<\/a><\/li><\/ol>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"overview\">Overview<\/h2>\n\n\n\n<p>SSH stands for \u201cSecure Shell\u201d which is both a protocol and a command line program that lets you administer a remote Linux computer. Here in this guide, we\u2019ll explain setting up key-based SSH authentication for production servers. SSH keys aren\u2019t only more secure than a regular password-based authentication but are convenient at times when you have to manage a number of remote systems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"getting-started\">Getting Started<\/h2>\n\n\n\n<p>Let\u2019s get started by first creating an Authentication key pair.<\/p>\n\n\n\n<p>Open up a terminal window on your computer. Create a key pair with the following commands:<br>ssh-keygen \u2192 Creates a new public\/private key pair.<\/p>\n\n\n\n<p>Type in the file names. Here we\u2019ll use <em>rewaant-test<\/em> <br><strong>Important<\/strong>: If you already have existing keys with the same name in the directory, this will overwrite their content which may render them useless or worse lock you out of other systems. It\u2019s important to choose a unique name here.<\/p>\n\n\n\n<p>It should now prompt for a passphrase. If you\u2019ll be using this key on a personal\/local computer to connect to a single instance and the key files won\u2019t be passed around\/shared, you can leave this empty. It\u2019s highly suggested though that you use a passphrase. Whenever you\u2019ll connect to an instance with a passphrase authenticated key, you\u2019ll need to type in the passphrase every single time. Here for the sake of convenience, we\u2019ll leave the passphrase empty.<\/p>\n\n\n\n<p>Your key pair should now be generated. This pair will be saved in either your user\u2019s home directory ~\/ or in the \/home\/<em>your_username<\/em>\/.ssh with the names you selected. The public key file is named with a <em>.pub<\/em> suffix.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"588\" src=\"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/1-1024x588.png\" alt=\"\" class=\"wp-image-533\" srcset=\"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/1-980x563.png 980w, https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/1-480x276.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"main-conf\">Main Configuration<\/h2>\n\n\n\n<p>Next, we\u2019ll have to set up the public key as an \u201cauthorized key\u201d to authenticate our logins. We have to upload the public key with specific permissions for the instance\u2019s SSH server to use it for authentication. Follow these steps:<\/p>\n\n\n\n<p>Connect to your instance via SSH.<br>ssh <em>your_username<\/em>@<em>your_instance_ip_address <\/em>which, in our case, becomes <em>ssh rewaant@176.58.98.58<\/em><\/p>\n\n\n\n<p>Once connected, type in the following commands:<br><em>mkdir ~\/.ssh &amp;&amp; sudo chmod -R 700 ~\/.ssh\/ <\/em>\u2192 This command creates a directory (.ssh) under the user\u2019s home directory and modifies its permission to 700.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"588\" src=\"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/2-1024x588.png\" alt=\"\" class=\"wp-image-534\" srcset=\"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/2-980x563.png 980w, https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/2-480x276.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>Disconnect and copy the public key to your instance. Use the following commands:<br>scp ~\/.ssh\/<em>key_name<\/em>.pub <em>your_username<\/em>@<em>your_instance_ip_address<\/em>:~\/.ssh\/authorized_keys \u2192 SCP is a command line tool used to copy files to a remote computer. This command essentially just copies your public key file to the instance. In our case, this command becomes: <em>scp ~\/.ssh\/rewaant-test.pub rewaant@176.58.98.58:~\/.ssh\/authorized_keys<\/em><br>It should prompt you for your password, once authenticated it\u2019ll copy the file and take you back to your terminal window.<\/p>\n\n\n\n<p>Now we need to set the proper permission to the authorized keys file. Connect to your instance again, execute <em>sudo chmod 600 ~\/.ssh\/authorized_keys<\/em>, disconnect by typing in <em>exit<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"588\" src=\"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/3-1024x588.png\" alt=\"\" class=\"wp-image-535\" srcset=\"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/3-980x563.png 980w, https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/3-480x276.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>Try reconnecting with the command: ssh <em>your_username<\/em>@<em>your_instance_ip_address <\/em>-i ~\/.ssh\/<em>key_name <\/em>In our case, this command becomes <em>ssh rewaant@176.58.98.58 -i ~\/.ssh\/rewaant-test<\/em>. Make sure to substitute your public key file path if it&#8217;s different from ours.<\/p>\n\n\n\n<p>You should now be able to connect to your instance with the SSH Keys. Keep in mind if you used a passphrase when generating the SSH keys, you\u2019ll be asked for a passphrase to authenticate.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"588\" src=\"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/4-1024x588.png\" alt=\"\" class=\"wp-image-536\" srcset=\"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/4-980x563.png 980w, https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/4-480x276.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>Key-based authentication is much more secure and convenient if you manage multiple systems. We highly recommend using it over passwords in production environments. If you\u2019re setting up a production server, consider reading our guide to <strong>Hardening SSH on your production server<\/strong>: <a href=\"https:\/\/rewaant.com\/blog\/hardening-ssh-on-your-linux-server\/\" target=\"_blank\" rel=\"noreferrer noopener\">Link<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Simple guide on how to setup SSH keys on your Linux server.<\/p>\n<p>We explain setting up key based SSH authentication on an Ubuntu or a Debian server.<\/p>\n","protected":false},"author":1,"featured_media":680,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","inline_featured_image":false,"footnotes":""},"categories":[18],"tags":[],"class_list":["post-547","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server-admin"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to setup SSH keys on your Linux server - Rewaant | Blog | Web &amp; Mobile Dev Tidbits<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to setup SSH keys on your Linux server - Rewaant | Blog | Web &amp; Mobile Dev Tidbits\" \/>\n<meta property=\"og:description\" content=\"Simple guide on how to setup SSH keys on your Linux server. We explain setting up key based SSH authentication on an Ubuntu or a Debian server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Rewaant | Blog | Web &amp; Mobile Dev Tidbits\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-04T06:03:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-13T16:14:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/setting_up_ssh_keys.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"588\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Rewaant Chhabra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rewaantllc\" \/>\n<meta name=\"twitter:site\" content=\"@rewaantllc\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rewaant Chhabra\" \/>\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:\\\/\\\/rewaant.com\\\/blog\\\/setup-ssh-keys-on-your-linux-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/setup-ssh-keys-on-your-linux-server\\\/\"},\"author\":{\"name\":\"Rewaant Chhabra\",\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/#\\\/schema\\\/person\\\/ba855e29fc3aef528547d8cc5d574754\"},\"headline\":\"How to setup SSH keys on your Linux server\",\"datePublished\":\"2022-09-04T06:03:28+00:00\",\"dateModified\":\"2022-09-13T16:14:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/setup-ssh-keys-on-your-linux-server\\\/\"},\"wordCount\":634,\"publisher\":{\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/setup-ssh-keys-on-your-linux-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/setting_up_ssh_keys.png\",\"articleSection\":[\"Server Administration\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/setup-ssh-keys-on-your-linux-server\\\/\",\"url\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/setup-ssh-keys-on-your-linux-server\\\/\",\"name\":\"How to setup SSH keys on your Linux server - Rewaant | Blog | Web &amp; Mobile Dev Tidbits\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/setup-ssh-keys-on-your-linux-server\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/setup-ssh-keys-on-your-linux-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/setting_up_ssh_keys.png\",\"datePublished\":\"2022-09-04T06:03:28+00:00\",\"dateModified\":\"2022-09-13T16:14:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/setup-ssh-keys-on-your-linux-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rewaant.com\\\/blog\\\/setup-ssh-keys-on-your-linux-server\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/setup-ssh-keys-on-your-linux-server\\\/#primaryimage\",\"url\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/setting_up_ssh_keys.png\",\"contentUrl\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/setting_up_ssh_keys.png\",\"width\":1024,\"height\":588},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/setup-ssh-keys-on-your-linux-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to setup SSH keys on your Linux server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/\",\"name\":\"Rewaant | Blog | Web &amp; Mobile Dev Tidbits\",\"description\":\"Web &amp; Mobile Dev Tidbits\",\"publisher\":{\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/#organization\",\"name\":\"Rewaant | Blog | Web &amp; Mobile Dev Tidbits\",\"url\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/rewaant_logo.png\",\"contentUrl\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/rewaant_logo.png\",\"width\":544,\"height\":544,\"caption\":\"Rewaant | Blog | Web &amp; Mobile Dev Tidbits\"},\"image\":{\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/rewaantllc\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/rewaantllc\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/#\\\/schema\\\/person\\\/ba855e29fc3aef528547d8cc5d574754\",\"name\":\"Rewaant Chhabra\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a0645ed92498626e9f50d57143ac2213945fe137a73a9885e4f7e7199015b8bf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a0645ed92498626e9f50d57143ac2213945fe137a73a9885e4f7e7199015b8bf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a0645ed92498626e9f50d57143ac2213945fe137a73a9885e4f7e7199015b8bf?s=96&d=mm&r=g\",\"caption\":\"Rewaant Chhabra\"},\"sameAs\":[\"https:\\\/\\\/rewaant.com\\\/blog\"],\"url\":\"https:\\\/\\\/rewaant.com\\\/blog\\\/author\\\/rewaant\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to setup SSH keys on your Linux server - Rewaant | Blog | Web &amp; Mobile Dev Tidbits","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:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/","og_locale":"en_US","og_type":"article","og_title":"How to setup SSH keys on your Linux server - Rewaant | Blog | Web &amp; Mobile Dev Tidbits","og_description":"Simple guide on how to setup SSH keys on your Linux server. We explain setting up key based SSH authentication on an Ubuntu or a Debian server.","og_url":"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/","og_site_name":"Rewaant | Blog | Web &amp; Mobile Dev Tidbits","article_published_time":"2022-09-04T06:03:28+00:00","article_modified_time":"2022-09-13T16:14:15+00:00","og_image":[{"width":1024,"height":588,"url":"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/setting_up_ssh_keys.png","type":"image\/png"}],"author":"Rewaant Chhabra","twitter_card":"summary_large_image","twitter_creator":"@rewaantllc","twitter_site":"@rewaantllc","twitter_misc":{"Written by":"Rewaant Chhabra","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/#article","isPartOf":{"@id":"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/"},"author":{"name":"Rewaant Chhabra","@id":"https:\/\/rewaant.com\/blog\/#\/schema\/person\/ba855e29fc3aef528547d8cc5d574754"},"headline":"How to setup SSH keys on your Linux server","datePublished":"2022-09-04T06:03:28+00:00","dateModified":"2022-09-13T16:14:15+00:00","mainEntityOfPage":{"@id":"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/"},"wordCount":634,"publisher":{"@id":"https:\/\/rewaant.com\/blog\/#organization"},"image":{"@id":"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/#primaryimage"},"thumbnailUrl":"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/setting_up_ssh_keys.png","articleSection":["Server Administration"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/","url":"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/","name":"How to setup SSH keys on your Linux server - Rewaant | Blog | Web &amp; Mobile Dev Tidbits","isPartOf":{"@id":"https:\/\/rewaant.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/#primaryimage"},"image":{"@id":"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/#primaryimage"},"thumbnailUrl":"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/setting_up_ssh_keys.png","datePublished":"2022-09-04T06:03:28+00:00","dateModified":"2022-09-13T16:14:15+00:00","breadcrumb":{"@id":"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/#primaryimage","url":"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/setting_up_ssh_keys.png","contentUrl":"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2022\/09\/setting_up_ssh_keys.png","width":1024,"height":588},{"@type":"BreadcrumbList","@id":"https:\/\/rewaant.com\/blog\/setup-ssh-keys-on-your-linux-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rewaant.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to setup SSH keys on your Linux server"}]},{"@type":"WebSite","@id":"https:\/\/rewaant.com\/blog\/#website","url":"https:\/\/rewaant.com\/blog\/","name":"Rewaant | Blog | Web &amp; Mobile Dev Tidbits","description":"Web &amp; Mobile Dev Tidbits","publisher":{"@id":"https:\/\/rewaant.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rewaant.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/rewaant.com\/blog\/#organization","name":"Rewaant | Blog | Web &amp; Mobile Dev Tidbits","url":"https:\/\/rewaant.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rewaant.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2021\/09\/rewaant_logo.png","contentUrl":"https:\/\/rewaant.com\/blog\/wp-content\/uploads\/2021\/09\/rewaant_logo.png","width":544,"height":544,"caption":"Rewaant | Blog | Web &amp; Mobile Dev Tidbits"},"image":{"@id":"https:\/\/rewaant.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/rewaantllc","https:\/\/www.linkedin.com\/company\/rewaantllc\/"]},{"@type":"Person","@id":"https:\/\/rewaant.com\/blog\/#\/schema\/person\/ba855e29fc3aef528547d8cc5d574754","name":"Rewaant Chhabra","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a0645ed92498626e9f50d57143ac2213945fe137a73a9885e4f7e7199015b8bf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a0645ed92498626e9f50d57143ac2213945fe137a73a9885e4f7e7199015b8bf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a0645ed92498626e9f50d57143ac2213945fe137a73a9885e4f7e7199015b8bf?s=96&d=mm&r=g","caption":"Rewaant Chhabra"},"sameAs":["https:\/\/rewaant.com\/blog"],"url":"https:\/\/rewaant.com\/blog\/author\/rewaant\/"}]}},"_links":{"self":[{"href":"https:\/\/rewaant.com\/blog\/wp-json\/wp\/v2\/posts\/547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rewaant.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rewaant.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rewaant.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rewaant.com\/blog\/wp-json\/wp\/v2\/comments?post=547"}],"version-history":[{"count":11,"href":"https:\/\/rewaant.com\/blog\/wp-json\/wp\/v2\/posts\/547\/revisions"}],"predecessor-version":[{"id":765,"href":"https:\/\/rewaant.com\/blog\/wp-json\/wp\/v2\/posts\/547\/revisions\/765"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rewaant.com\/blog\/wp-json\/wp\/v2\/media\/680"}],"wp:attachment":[{"href":"https:\/\/rewaant.com\/blog\/wp-json\/wp\/v2\/media?parent=547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rewaant.com\/blog\/wp-json\/wp\/v2\/categories?post=547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rewaant.com\/blog\/wp-json\/wp\/v2\/tags?post=547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}