{"id":8454,"date":"2022-09-02T11:16:26","date_gmt":"2022-09-02T11:16:26","guid":{"rendered":"https:\/\/clustercs.com\/kb\/?docs=docly-documentation\/server-setup\/add-a-server\/create-a-ssh-key-pair-for-clustercs"},"modified":"2022-09-19T12:46:19","modified_gmt":"2022-09-19T12:46:19","slug":"create-a-ssh-key-pair","status":"publish","type":"docs","link":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/","title":{"rendered":"Create a SSH key-pair for ClusterCS"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>In this article we explain why we would consider creating a unique set of SSH keys for ClusterCS.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><em>A SSH key when generated creates a pair of keys, i.e two files. One being your public key (.pub) that you can share and distribute and the other being your private key. The private key file is guarded by you only as its solely private. One can not make use of the public key remotely set without the private key.<\/em><\/p><\/blockquote>\n\n\n\n<p>ClusterCS is a server management tool, a SaaS based Control Panel for your hosting needs that can manage many servers from one single Control Panel.<\/p>\n\n\n\n<p>This means ClusterCS needs to connect to your remote servers that you have provisioned and to do so securely the preferred approach is to use a SSH key. In this example ClusterCS acts very similar to your computer (with your private SSH key) connecting to your server and this is why you also need Creating a SSH key-pair for ClusterCS to submit a private ssh key to the ClusterCS Control Panel (CCP) to have CCP connect to your remote server.<\/p>\n\n\n\n<p>Instead of submitting your own commonly used private key to ClusterCS it is recommended you create a new dedicated key, so the private key you submit is just for ClusterCS to connect to your server(s).<\/p>\n\n\n\n<p>Create a SSH key pair just for ClusterCS:<\/p>\n\n\n\n<p><strong>MacOS or Linux:<\/strong><\/p>\n\n\n\n<p>If you\u2019re on MacOS or Linux \u2013 enter the following command in your terminal to generate a RSA 4096 bit key with your email as a comment:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>ssh-keygen -t rsa -b 4096 -C \u201cemail\u201d<\/code><\/pre>\n\n\n\n<p>or \u2018clustercs\u2019 as comment if desired for better personal reference:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>ssh-keygen -t rsa -b 4096 -C \u201cclustercs\u201d<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote has-small-font-size is-layout-flow wp-block-quote-is-layout-flow\"><p><em>You can also opt to further protect your private key with a passphrase which is an option provided when running the above command(s) and also an available option to include \u201cpassphrase\u201d within the CCP.<\/em><\/p><\/blockquote>\n\n\n\n<p><strong>Windows:<\/strong><\/p>\n\n\n\n<p>If you are on a Windows PC you may want to use an app such as&nbsp;<strong>PuTTY<\/strong>&nbsp;that could be downloaded from&nbsp;<a href=\"https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html\"><strong>here<\/strong><\/a>. A more detailed instruction could be found from this&nbsp;<a href=\"https:\/\/www.ssh.com\/ssh\/putty\/windows\/puttygen\"><strong>link<\/strong><\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article we explain why we would consider creating a unique set of SSH keys for ClusterCS. A SSH key when generated creates a pair of keys, i.e two files. One being your public key (.pub) that you can share and distribute and the other being your private key. The private key file is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":8452,"menu_order":3,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-8454","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Create a SSH key-pair for ClusterCS - ClusterCS Knowledge Base<\/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:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create a SSH key-pair for ClusterCS - ClusterCS Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"In this article we explain why we would consider creating a unique set of SSH keys for ClusterCS. A SSH key when generated creates a pair of keys, i.e two files. One being your public key (.pub) that you can share and distribute and the other being your private key. The private key file is [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/\" \/>\n<meta property=\"og:site_name\" content=\"ClusterCS Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-19T12:46:19+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/\",\"url\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/\",\"name\":\"Create a SSH key-pair for ClusterCS - ClusterCS Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/clustercs.com\/kb\/#website\"},\"datePublished\":\"2022-09-02T11:16:26+00:00\",\"dateModified\":\"2022-09-19T12:46:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/clustercs.com\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ClusterCS Documentation\",\"item\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Server Setup\",\"item\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Add a server\",\"item\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Create a SSH key-pair for ClusterCS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/clustercs.com\/kb\/#website\",\"url\":\"https:\/\/clustercs.com\/kb\/\",\"name\":\"ClusterCS Knowledge Base\",\"description\":\"Welcome to ClusterCS Documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/clustercs.com\/kb\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create a SSH key-pair for ClusterCS - ClusterCS Knowledge Base","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:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/","og_locale":"en_US","og_type":"article","og_title":"Create a SSH key-pair for ClusterCS - ClusterCS Knowledge Base","og_description":"In this article we explain why we would consider creating a unique set of SSH keys for ClusterCS. A SSH key when generated creates a pair of keys, i.e two files. One being your public key (.pub) that you can share and distribute and the other being your private key. The private key file is [&hellip;]","og_url":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/","og_site_name":"ClusterCS Knowledge Base","article_modified_time":"2022-09-19T12:46:19+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/","url":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/","name":"Create a SSH key-pair for ClusterCS - ClusterCS Knowledge Base","isPartOf":{"@id":"https:\/\/clustercs.com\/kb\/#website"},"datePublished":"2022-09-02T11:16:26+00:00","dateModified":"2022-09-19T12:46:19+00:00","breadcrumb":{"@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/create-a-ssh-key-pair\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/clustercs.com\/kb\/"},{"@type":"ListItem","position":2,"name":"ClusterCS Documentation","item":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/"},{"@type":"ListItem","position":3,"name":"Server Setup","item":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/"},{"@type":"ListItem","position":4,"name":"Add a server","item":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/server-setup\/add-a-server\/"},{"@type":"ListItem","position":5,"name":"Create a SSH key-pair for ClusterCS"}]},{"@type":"WebSite","@id":"https:\/\/clustercs.com\/kb\/#website","url":"https:\/\/clustercs.com\/kb\/","name":"ClusterCS Knowledge Base","description":"Welcome to ClusterCS Documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/clustercs.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/comments?post=8454"}],"version-history":[{"count":7,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8454\/revisions"}],"predecessor-version":[{"id":8982,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8454\/revisions\/8982"}],"up":[{"embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8452"}],"wp:attachment":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/media?parent=8454"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/doc_tag?post=8454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}