{"id":38735,"date":"2023-07-20T13:54:29","date_gmt":"2023-07-20T11:54:29","guid":{"rendered":"https:\/\/xneelo.co.za\/help-centre\/?p=38735"},"modified":"2025-11-20T12:05:16","modified_gmt":"2025-11-20T10:05:16","slug":"generate-an-ssh-key-using-the-terminal","status":"publish","type":"post","link":"https:\/\/xneelo.co.za\/help-centre\/cloud\/generate-an-ssh-key-using-the-terminal\/","title":{"rendered":"Generate an SSH key pair in your terminal"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">In xneelo Cloud, you can <\/span><a href=\"https:\/\/xneelo.co.za\/help-centre\/cloud\/create-and-manage-key-pairs\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">create key pairs<\/span><\/a><span style=\"font-weight: 400;\"> in your cloud dashboard and assign these to your instances.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can also <\/span><b>generate your own<\/b><span style=\"font-weight: 400;\"> key pairs using your workstation\u2019s terminal and import the public key file into your project.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can generate and import a key pair in any acceptable format such as RSA, ECDSA or Ed25519.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This article will help you get started with the steps to create an <\/span><b>RSA SSH key pair<\/b><span style=\"font-weight: 400;\"> in your workstation\u2019s terminal.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Generate a key pair<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">When creating a new key pair, both a <\/span><b>public key<\/b><span style=\"font-weight: 400;\"> and <\/span><b>private key <\/b><span style=\"font-weight: 400;\">file will be generated.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Once you\u2019ve generated a new key pair, you should ensure that the private key file is <\/span><b>securely stored <\/b><span style=\"font-weight: 400;\">and adequately protected.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you lose access to your private key you will not be able to connect to your instance.<\/span><\/p>\n","protected":false,"plain":"<span >In xneelo Cloud, you can <\/span><a href=\"https:\/\/xneelo.co.za\/help-centre\/cloud\/create-and-manage-key-pairs\/\" target=\"_blank\" rel=\"noopener\"><span >create key pairs<\/span><\/a><span > in your cloud dashboard and assign these to your instances.\u00a0<\/span>\r\n\r\n<span >You can also <\/span><b>generate your own<\/b><span > key pairs using your workstation\u2019s terminal and import the public key file into your project.<\/span>\r\n\r\n<span >You can generate and import a key pair in any acceptable format such as RSA, ECDSA or Ed25519.<\/span>\r\n\r\n<span >This article will help you get started with the steps to create an <\/span><b>RSA SSH key pair<\/b><span > in your workstation\u2019s terminal.<\/span>\r\n<h2><span >Generate a key pair<\/span><\/h2>\r\n<span >When creating a new key pair, both a <\/span><b>public key<\/b><span > and <\/span><b>private key <\/b><span >file will be generated.<\/span>\r\n\r\n<span >Once you\u2019ve generated a new key pair, you should ensure that the private key file is <\/span><b>securely stored <\/b><span >and adequately protected.<\/span>\r\n\r\n<span >If you lose access to your private key you will not be able to connect to your instance.<\/span>"},"excerpt":{"rendered":"<p>Follow this guide on how to generate an RSA SSH key pair using your terminal, to assign to your cloud instances. <\/p>\n","protected":false},"author":34,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"lsx_disable_title":"0","_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","footnotes":""},"categories":[18591],"tags":[22211,22208,22205,22202,22199,22196,20504,19821,19508,18729,18711,18717],"topics":[21386,21383,18723],"class_list":["post-38735","post","type-post","status-publish","format-standard","hentry","category-cloud","tag-rsa-ssh-key-pair","tag-ed25519","tag-ecdsa","tag-private-key","tag-generate-an-ssh-key-pair-in-your-terminal","tag-rsa","tag-how-to-generate-an-ssh-key-using-the-terminal","tag-ssh-key","tag-cloud-hosting","tag-key-pair","tag-cloud","tag-public-key","topics-compute","topics-key-pairs","topics-xneelo-cloud"],"acf":[],"additional_meta":{"category_title":[{"term_id":18591,"name":"Cloud","slug":"cloud","term_group":0,"term_taxonomy_id":18591,"taxonomy":"category","description":"","parent":0,"count":47,"filter":"raw","term_order":"2","cat_ID":18591,"category_count":47,"category_description":"","cat_name":"Cloud","category_nicename":"cloud","category_parent":0}],"tag_title":[{"term_id":22211,"name":"RSA SSH key pair","slug":"rsa-ssh-key-pair","term_group":0,"term_taxonomy_id":22211,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"754"},{"term_id":22208,"name":"Ed25519","slug":"ed25519","term_group":0,"term_taxonomy_id":22208,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"755"},{"term_id":22205,"name":"ECDSA","slug":"ecdsa","term_group":0,"term_taxonomy_id":22205,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"756"},{"term_id":22202,"name":"private key","slug":"private-key","term_group":0,"term_taxonomy_id":22202,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw","term_order":"757"},{"term_id":22199,"name":"Generate an SSH key pair in your terminal","slug":"generate-an-ssh-key-pair-in-your-terminal","term_group":0,"term_taxonomy_id":22199,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"758"},{"term_id":22196,"name":"rsa","slug":"rsa","term_group":0,"term_taxonomy_id":22196,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"759"},{"term_id":20504,"name":"How to Generate an SSH Key Using the Terminal","slug":"how-to-generate-an-ssh-key-using-the-terminal","term_group":0,"term_taxonomy_id":20504,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"1306"},{"term_id":19821,"name":"ssh key","slug":"ssh-key","term_group":0,"term_taxonomy_id":19821,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw","term_order":"1533"},{"term_id":19508,"name":"cloud hosting","slug":"cloud-hosting","term_group":0,"term_taxonomy_id":19508,"taxonomy":"post_tag","description":"","parent":0,"count":6,"filter":"raw","term_order":"1636"},{"term_id":18729,"name":"key pair","slug":"key-pair","term_group":0,"term_taxonomy_id":18729,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"1894"},{"term_id":18711,"name":"cloud","slug":"cloud","term_group":0,"term_taxonomy_id":18711,"taxonomy":"post_tag","description":"","parent":0,"count":18,"filter":"raw","term_order":"1895"},{"term_id":18717,"name":"public key","slug":"public-key","term_group":0,"term_taxonomy_id":18717,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw","term_order":"1897"}]},"featured_image_src":null,"author_info":{"display_name":"Alexia Papadatos","author_link":"https:\/\/xneelo.co.za\/help-centre\/author\/alexia\/","author_avatar":"https:\/\/secure.gravatar.com\/avatar\/9dc491b1be8ef5ac4a33e742399256d17daf7e6fe70bc88cce1a7bbc06c1a406?s=96&d=mm&r=g"},"_links":{"self":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/38735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/users\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/comments?post=38735"}],"version-history":[{"count":0,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/38735\/revisions"}],"wp:attachment":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/media?parent=38735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/categories?post=38735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/tags?post=38735"},{"taxonomy":"topics","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/topics?post=38735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}