{"id":8830,"date":"2025-07-21T11:56:03","date_gmt":"2025-07-21T06:26:03","guid":{"rendered":"https:\/\/www.veeble.com\/kb\/?p=8830"},"modified":"2025-07-21T12:01:02","modified_gmt":"2025-07-21T06:31:02","slug":"step-by-step-guide-to-generating-ssh-keys-for-secure-access-to-veeble-cloud-servers-on-linux-macos-and-windows-environments","status":"publish","type":"post","link":"https:\/\/www.veeble.com\/kb\/step-by-step-guide-to-generating-ssh-keys-for-secure-access-to-veeble-cloud-servers-on-linux-macos-and-windows-environments\/","title":{"rendered":"Step-by-step guide to generating SSH keys for secure access to Veeble cloud servers on Linux, macOS, and Windows environments"},"content":{"rendered":"\n<p>SSH keys provide a more secure and convenient way to authenticate than passwords. Below is a structured guide for generating and using SSH keys on Linux, macOS, and Windows.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"generating-ssh-keys\"><strong>Generating SSH Keys<\/strong><\/h2>\n\n\n<p><strong>Linux &amp; macOS<\/strong><\/p>\n\n\n\n<p>SSH key pair generation on Linux and macOS systems follows a straightforward process, as outlined in the following steps.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Open a terminal<\/strong>.<\/li>\n\n\n\n<li><strong>Generate a new key pair<\/strong>&nbsp;<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>#ssh-keygen -t rsa<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Follow prompts<\/strong> to:\n<ul class=\"wp-block-list\">\n<li>Choose a save location (default: ~\/.ssh\/id_rsa).<\/li>\n\n\n\n<li>Set a passphrase (recommended for extra security).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/05\/key-gen-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"396\" src=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/05\/key-gen-1-1024x396.png\" alt=\"\" class=\"wp-image-8832\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/05\/key-gen-1-1024x396.png 1024w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/05\/key-gen-1-300x116.png 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/05\/key-gen-1-768x297.png 768w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/05\/key-gen-1.png 1221w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>3<strong>. Verify the keys<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#ls ~\/.ssh\/<\/code><\/pre>\n\n\n\n<p>You should see:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>id_rsa (<strong>private key<\/strong>, keep secure!)\nid_rsa.pub (<strong>public key<\/strong>, to be shared).<\/code><\/pre>\n\n\n\n<p>4. Copy the <strong>id_rsa.pub <\/strong>contents and paste them in the box\u00a0 when prompted during the\u00a0 order process.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/key1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"504\" src=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/key1-1024x504.png\" alt=\"\" class=\"wp-image-8854\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/key1-1024x504.png 1024w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/key1-300x148.png 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/key1-768x378.png 768w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/key1-1536x756.png 1536w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/key1.png 1780w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>This key pair enables secure authentication to your Veeble cloud server. Please ensure the private key remains securely stored on your local PC, as it serves as your access credential.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"putty-windows\">PuTTY (Windows)<br><\/h2>\n\n\n<p>If you&#8217;re using PuTTY on a Windows laptop or PC, follow these steps to create an SSH key pair:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Open\u00a0<strong>PuTTYgen<\/strong>\u00a0(the included key generation tool).<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/putty1.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"739\" src=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/putty1-1024x739.jpg\" alt=\"\" class=\"wp-image-8852\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/putty1-1024x739.jpg 1024w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/putty1-300x217.jpg 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/putty1-768x554.jpg 768w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/putty1.jpg 1201w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>In the\u00a0<strong>PuTTYgen<\/strong>\u00a0window, confirm that\u00a0<strong>RSA<\/strong>\u00a0is selected as the key type (this generates an\u00a0<strong>SSH-2 RSA<\/strong>\u00a0key). Avoid\u00a0<strong>SSH-1<\/strong>, as it\u2019s outdated.<\/li>\n\n\n\n<li>To add randomness, move your mouse cursor around the blank area until the progress bar finishes.<\/li>\n\n\n\n<li>Click the\u00a0<strong>Generate<\/strong>\u00a0button to create a new key.<\/li>\n<\/ol>\n\n\n\n<p>Upon completion, PuTTYgen will generate a\u00a0<strong>private key<\/strong>\u00a0and a\u00a0<strong>public key<\/strong>.<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"setting-a-key-passphrase-optional-but-recommended\"><strong>Setting a Key Passphrase (Optional but Recommended)<\/strong><\/h3>\n\n\n<p>For enhanced security, you may enter a&nbsp;<strong>passphrase<\/strong>&nbsp;in the designated fields. This passphrase encrypts the private key, preventing unauthorized access even if the key is compromised.<\/p>\n\n\n<h3 class=\"wp-block-heading\" id=\"saving-the-private-key\"><strong>Saving the Private Key<\/strong><\/h3>\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Click\u00a0<strong>&#8220;Save private key&#8221;<\/strong>\u00a0to securely store the private key on your local machine.<\/li>\n\n\n\n<li><strong>Important:<\/strong>\u00a0Keep this file in a secure location, as it cannot be recovered if lost.<\/li>\n<\/ol>\n\n\n\n<p>Copy the entire public key text to your clipboard. Unlike the private key, the public key does not require secure storage\u2014it can always be regenerated from the private key if needed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/putty2.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"739\" src=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/putty2-1024x739.jpg\" alt=\"\" class=\"wp-image-8853\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/putty2-1024x739.jpg 1024w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/putty2-300x217.jpg 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/putty2-768x555.jpg 768w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2025\/07\/putty2.jpg 1198w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Next, paste this public key into the required field when ordering your Cloud VPS, completing the authentication setup.<\/p>\n\n\n\n<p>You can go ahead and order the cloud server now <\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SSH keys provide a more secure and convenient way to authenticate than passwords. Below is a structured guide for generating and using SSH keys [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1,36],"tags":[],"class_list":["post-8830","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-cloud"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Vipin Raj","author_link":"https:\/\/www.veeble.com\/kb\/author\/vipin\/"},"uagb_comment_info":0,"uagb_excerpt":"SSH keys provide a more secure and convenient way to authenticate than passwords. Below is a structured guide for generating and using SSH keys [&hellip;]","_links":{"self":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/8830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/comments?post=8830"}],"version-history":[{"count":1,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/8830\/revisions"}],"predecessor-version":[{"id":8855,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/8830\/revisions\/8855"}],"wp:attachment":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media?parent=8830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/categories?post=8830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/tags?post=8830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}