{"id":14608,"date":"2023-09-12T10:11:39","date_gmt":"2023-09-12T10:11:39","guid":{"rendered":"https:\/\/www.webhosting.uk.com\/kb\/?p=14608"},"modified":"2026-03-24T13:19:42","modified_gmt":"2026-03-24T13:19:42","slug":"how-to-view-your-ssh-public-key-on-linux","status":"publish","type":"post","link":"https:\/\/www.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/","title":{"rendered":"How to view your SSH public key on Linux: Two simple methods"},"content":{"rendered":"<p>If you are managing remote servers, using SSH (Secure Shell) is essential. SSH keys provide a secure and convenient way to authenticate, and at times, you may need to view your SSH public key. In this guide, we will walk you through two easy methods to view your SSH public key on a Linux system.<\/p>\n<p>First, let us understand what an SSH public key is.<\/p>\n<p>An SSH public key is part of a pair (public and private) that you create for secure communication with a server. The public key is shared with the server, letting you establish a secure connection without needing a password.<\/p>\n<h2><strong>Method 1: Viewing SSH Public Key Using the \u2018cat\u2019 Command<\/strong><\/h2>\n<p>The simplest way to view your SSH public key is by using the \u2018cat\u2019 command. Follow these steps:<\/p>\n<ol>\n<li>Open a terminal on your Linux machine.<\/li>\n<li>Execute the following command to display your SSH public key:\n<pre>cat ~\/.ssh\/id_rsa.pub<\/pre>\n<\/li>\n<li>Copy the displayed key from the terminal and paste it where required (e.g., server configuration).<strong>Note:<\/strong> This command assumes your public key is located in the \u2018~\/.ssh\/\u2019 directory, which is the default for most Linux distributions. If your key is stored in a different location, adjust the path accordingly.<\/li>\n<\/ol>\n<h2><strong>Method 2: Viewing SSH Public Key Using \u2018ssh-agent\u2019 and \u2018ssh-add\u2019<\/strong><\/h2>\n<p>This method is slightly more advanced and beneficial if you are using \u2018ssh-agent\u2019 to manage your SSH keys:<\/p>\n<ol>\n<li>Open a terminal.<\/li>\n<li>Run the subsequent command to view your SSH public key through the agent:\n<pre>ssh-agent sh -c \u2018ssh-add; ssh-add -L\u2019<\/pre>\n<\/li>\n<li>After positive authentication, the public key linked with the agent will be displayed.<\/li>\n<li>Copy the SSH public key from the terminal output and use it as needed.<\/li>\n<\/ol>\n<h3><strong>When and Why Should You View Your SSH Public Key?<\/strong><\/h3>\n<p>You might need to view your SSH public key when:<\/p>\n<ol>\n<li>Adding the key to a new server for secure login.<\/li>\n<li>Sharing the key with a remote service (like GitHub or cloud providers).<\/li>\n<li>Verifying that the correct key is being used.<\/li>\n<\/ol>\n<h3><strong>Troubleshooting Common Issues:<\/strong><\/h3>\n<ol>\n<li>SSH Key Not Found:<br \/>\nIf you receive a message indicating that the key file does not exist, ensure you\u2019ve generated an SSH key pair using:<\/p>\n<pre>ssh-keygen -t rsa<\/pre>\n<p>This command will create a new key pair in the default location (~\/.ssh\/).<\/li>\n<li>Multiple SSH Keys:<br \/>\nIf you have multiple SSH keys, you can specify the exact key file by replacing id_rsa.pub in the cat command with the appropriate file name.<\/li>\n<\/ol>\n<h3><strong>Tips for Secure SSH Key Management:<\/strong><\/h3>\n<ol>\n<li>Protect your private key:<br \/>\nNever share your private key (id_rsa). It must remain secure on your machine.<\/li>\n<li>Use a passphrase:<br \/>\nWhen generating a key pair, adding a passphrase improves security, requiring it to unlock the private key.<\/li>\n<li>Backup your keys:<br \/>\nConfirm that you have a secure backup of your SSH keys to avoid losing access to your servers.<\/li>\n<\/ol>\n<h4><strong>Conclusion:<\/strong><\/h4>\n<p>Viewing your SSH public key on Linux is a simple process with both the \u2018cat\u2019 command and \u2018ssh-agent\u2019 methods. Whether you are configuring a new server or managing SSH keys, knowing how to access your public key is essential for secure remote access.<\/p>\n<div style=\"background: #E6F0FF; padding: 15px; border-left: 4px solid #0047BA; margin: 20px 0;\"><strong>Managing SSH access for your servers?<\/strong><br \/>\nFor better control over user access and security, consider using a <a href=\"https:\/\/www.webhosting.uk.com\/linux-vps\">Linux VPS with full system access<\/a>.<\/div>\n<p>Need to enable SSH on your VPS? Read our guide on <a href=\"https:\/\/www.webhosting.uk.com\/kb\/how-to-enable-ssh-on-vps-through-whm\/\">How to Enable SSH on VPS through WHM<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are managing remote servers, using SSH (Secure Shell) is essential. SSH keys provide a secure and convenient way to authenticate, and at times, you may need to view&hellip;<\/p>\n<p><a href=\"https:\/\/www.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/\" class=\"more-link\">Read More<\/a><\/p>\n<div class='heateorSssClear'><\/div><div  class='heateor_sss_sharing_container heateor_sss_horizontal_sharing' data-heateor-sss-href='https:\/\/www.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/'><div class='heateor_sss_sharing_title' style=\"font-weight:bold\" >Spread the love<\/div><div class=\"heateor_sss_sharing_ul\"><a aria-label=\"Facebook\" class=\"heateor_sss_facebook\" href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fhow-to-view-your-ssh-public-key-on-linux%2F\" title=\"Facebook\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg\" style=\"background-color:#0765FE;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 32 32\"><path fill=\"#fff\" d=\"M28 16c0-6.627-5.373-12-12-12S4 9.373 4 16c0 5.628 3.875 10.35 9.101 11.647v-7.98h-2.474V16H13.1v-1.58c0-4.085 1.849-5.978 5.859-5.978.76 0 2.072.15 2.608.298v3.325c-.283-.03-.775-.045-1.386-.045-1.967 0-2.728.745-2.728 2.683V16h3.92l-.673 3.667h-3.247v8.245C23.395 27.195 28 22.135 28 16Z\"><\/path><\/svg><\/span><\/a><a aria-label=\"X\" class=\"heateor_sss_button_x\" href=\"https:\/\/twitter.com\/intent\/tweet?text=How%20to%20view%20your%20SSH%20public%20key%20on%20Linux%3A%20Two%20simple%20methods&url=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fhow-to-view-your-ssh-public-key-on-linux%2F\" title=\"X\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg heateor_sss_s__default heateor_sss_s_x\" style=\"background-color:#2a2a2a;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg width=\"100%\" height=\"100%\" style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#fff\" d=\"M21.751 7h3.067l-6.7 7.658L26 25.078h-6.172l-4.833-6.32-5.531 6.32h-3.07l7.167-8.19L6 7h6.328l4.37 5.777L21.75 7Zm-1.076 16.242h1.7L11.404 8.74H9.58l11.094 14.503Z\"><\/path><\/svg><\/span><\/a><a aria-label=\"Linkedin\" class=\"heateor_sss_button_linkedin\" href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Fwww.webhosting.uk.com%2Fkb%2Fhow-to-view-your-ssh-public-key-on-linux%2F\" title=\"Linkedin\" rel=\"nofollow noopener\" target=\"_blank\" style=\"font-size:32px!important;box-shadow:none;display:inline-block;vertical-align:middle\"><span class=\"heateor_sss_svg heateor_sss_s__default heateor_sss_s_linkedin\" style=\"background-color:#0077b5;width:40px;height:40px;display:inline-block;opacity:1;float:left;font-size:32px;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle;background-repeat:repeat;overflow:hidden;padding:0;cursor:pointer;box-sizing:content-box\"><svg style=\"display:block;\" focusable=\"false\" aria-hidden=\"true\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"100%\" height=\"100%\" viewBox=\"0 0 32 32\"><path d=\"M6.227 12.61h4.19v13.48h-4.19V12.61zm2.095-6.7a2.43 2.43 0 0 1 0 4.86c-1.344 0-2.428-1.09-2.428-2.43s1.084-2.43 2.428-2.43m4.72 6.7h4.02v1.84h.058c.56-1.058 1.927-2.176 3.965-2.176 4.238 0 5.02 2.792 5.02 6.42v7.395h-4.183v-6.56c0-1.564-.03-3.574-2.178-3.574-2.18 0-2.514 1.7-2.514 3.46v6.668h-4.187V12.61z\" fill=\"#fff\"><\/path><\/svg><\/span><\/a><\/div><div class=\"heateorSssClear\"><\/div><\/div><div class='heateorSssClear'><\/div>","protected":false},"author":35,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[972],"tags":[1855],"class_list":["post-14608","post","type-post","status-publish","format-standard","hentry","category-security","tag-ssh"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.7 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to View Your SSH Public Key on Linux<\/title>\n<meta name=\"description\" content=\"Get your SSH public key in Linux using the cat ~\/.ssh\/id_rsa.pub command. Quick steps and examples to view your public key easily.\" \/>\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.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to view your SSH public key on Linux: Two simple methods\" \/>\n<meta property=\"og:description\" content=\"Get your SSH public key in Linux using the cat ~\/.ssh\/id_rsa.pub command. Quick steps and examples to view your public key easily.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Webhosting UK Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhostingukcom\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-12T10:11:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-24T13:19:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/09\/How-to-view-your-SSH-public-key-on-Linux-SOCIAL.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Van\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/09\/How-to-view-your-SSH-public-key-on-Linux-SOCIAL.png\" \/>\n<meta name=\"twitter:creator\" content=\"@WebhostingUKcom\" \/>\n<meta name=\"twitter:site\" content=\"@WebhostingUKcom\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-view-your-ssh-public-key-on-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-view-your-ssh-public-key-on-linux\\\/\"},\"author\":{\"name\":\"Van\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/person\\\/5c66fd2e59ccac81cc9c2d43da7272f9\"},\"headline\":\"How to view your SSH public key on Linux: Two simple methods\",\"datePublished\":\"2023-09-12T10:11:39+00:00\",\"dateModified\":\"2026-03-24T13:19:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-view-your-ssh-public-key-on-linux\\\/\"},\"wordCount\":553,\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\"},\"keywords\":[\"ssh\"],\"articleSection\":[\"Security and Backups\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-view-your-ssh-public-key-on-linux\\\/\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-view-your-ssh-public-key-on-linux\\\/\",\"name\":\"How to View Your SSH Public Key on Linux\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#website\"},\"datePublished\":\"2023-09-12T10:11:39+00:00\",\"dateModified\":\"2026-03-24T13:19:42+00:00\",\"description\":\"Get your SSH public key in Linux using the cat ~\\\/.ssh\\\/id_rsa.pub command. Quick steps and examples to view your public key easily.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-view-your-ssh-public-key-on-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-view-your-ssh-public-key-on-linux\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/how-to-view-your-ssh-public-key-on-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to view your SSH public key on Linux: Two simple methods\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\",\"name\":\"Webhosting UK Knowledge Base\",\"description\":\"Expert Insights on Hosting, Development, Security, Marketing, and SEO\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\"},\"alternateName\":\"WHUK\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#organization\",\"name\":\"Webhosting UK\",\"alternateName\":\"WHUK\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/WHUK-logo-1.png\",\"contentUrl\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/WHUK-logo-1.png\",\"width\":1200,\"height\":628,\"caption\":\"Webhosting UK\"},\"image\":{\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/webhostingukcom\",\"https:\\\/\\\/x.com\\\/WebhostingUKcom\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/webhostinguk\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/webhosting-uk-com-ltd\\\/\",\"https:\\\/\\\/www.instagram.com\\\/webhosting_uk\\\/\",\"https:\\\/\\\/www.tiktok.com\\\/@webhostinguk\"],\"description\":\"Fast, reliable, and cost-effective website hosting services with Webhosting UK. Committed to providing you secure support around the clock.\",\"email\":\"sales@webhosting.uk.com\",\"telephone\":\"0800 862 0890\",\"legalName\":\"Webhosting UK\",\"foundingDate\":\"2001-02-07\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"51\",\"maxValue\":\"200\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.webhosting.uk.com\\\/kb\\\/#\\\/schema\\\/person\\\/5c66fd2e59ccac81cc9c2d43da7272f9\",\"name\":\"Van\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g\",\"caption\":\"Van\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to View Your SSH Public Key on Linux","description":"Get your SSH public key in Linux using the cat ~\/.ssh\/id_rsa.pub command. Quick steps and examples to view your public key easily.","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.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/","og_locale":"en_GB","og_type":"article","og_title":"How to view your SSH public key on Linux: Two simple methods","og_description":"Get your SSH public key in Linux using the cat ~\/.ssh\/id_rsa.pub command. Quick steps and examples to view your public key easily.","og_url":"https:\/\/www.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/","og_site_name":"Webhosting UK Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/webhostingukcom","article_published_time":"2023-09-12T10:11:39+00:00","article_modified_time":"2026-03-24T13:19:42+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/09\/How-to-view-your-SSH-public-key-on-Linux-SOCIAL.png","type":"image\/png"}],"author":"Van","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/09\/How-to-view-your-SSH-public-key-on-Linux-SOCIAL.png","twitter_creator":"@WebhostingUKcom","twitter_site":"@WebhostingUKcom","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/#article","isPartOf":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/"},"author":{"name":"Van","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/person\/5c66fd2e59ccac81cc9c2d43da7272f9"},"headline":"How to view your SSH public key on Linux: Two simple methods","datePublished":"2023-09-12T10:11:39+00:00","dateModified":"2026-03-24T13:19:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/"},"wordCount":553,"publisher":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization"},"keywords":["ssh"],"articleSection":["Security and Backups"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/","url":"https:\/\/www.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/","name":"How to View Your SSH Public Key on Linux","isPartOf":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#website"},"datePublished":"2023-09-12T10:11:39+00:00","dateModified":"2026-03-24T13:19:42+00:00","description":"Get your SSH public key in Linux using the cat ~\/.ssh\/id_rsa.pub command. Quick steps and examples to view your public key easily.","breadcrumb":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhosting.uk.com\/kb\/how-to-view-your-ssh-public-key-on-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhosting.uk.com\/kb\/"},{"@type":"ListItem","position":2,"name":"How to view your SSH public key on Linux: Two simple methods"}]},{"@type":"WebSite","@id":"https:\/\/www.webhosting.uk.com\/kb\/#website","url":"https:\/\/www.webhosting.uk.com\/kb\/","name":"Webhosting UK Knowledge Base","description":"Expert Insights on Hosting, Development, Security, Marketing, and SEO","publisher":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization"},"alternateName":"WHUK","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhosting.uk.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.webhosting.uk.com\/kb\/#organization","name":"Webhosting UK","alternateName":"WHUK","url":"https:\/\/www.webhosting.uk.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/08\/WHUK-logo-1.png","contentUrl":"https:\/\/www.webhosting.uk.com\/kb\/wp-content\/uploads\/2023\/08\/WHUK-logo-1.png","width":1200,"height":628,"caption":"Webhosting UK"},"image":{"@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhostingukcom","https:\/\/x.com\/WebhostingUKcom","https:\/\/www.youtube.com\/c\/webhostinguk","https:\/\/www.linkedin.com\/company\/webhosting-uk-com-ltd\/","https:\/\/www.instagram.com\/webhosting_uk\/","https:\/\/www.tiktok.com\/@webhostinguk"],"description":"Fast, reliable, and cost-effective website hosting services with Webhosting UK. Committed to providing you secure support around the clock.","email":"sales@webhosting.uk.com","telephone":"0800 862 0890","legalName":"Webhosting UK","foundingDate":"2001-02-07","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"51","maxValue":"200"}},{"@type":"Person","@id":"https:\/\/www.webhosting.uk.com\/kb\/#\/schema\/person\/5c66fd2e59ccac81cc9c2d43da7272f9","name":"Van","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g","caption":"Van"}}]}},"_links":{"self":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/14608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/comments?post=14608"}],"version-history":[{"count":22,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/14608\/revisions"}],"predecessor-version":[{"id":22641,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/posts\/14608\/revisions\/22641"}],"wp:attachment":[{"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/media?parent=14608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/categories?post=14608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhosting.uk.com\/kb\/wp-json\/wp\/v2\/tags?post=14608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}