{"id":9514,"date":"2026-06-03T05:59:32","date_gmt":"2026-06-03T03:59:32","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=9514"},"modified":"2026-06-03T05:59:33","modified_gmt":"2026-06-03T03:59:33","slug":"cum-sa-generati-chei-ssh-pe-windows-utilizand-puttygen","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-generate-ssh-keys-on-windows-using-puttygen\/","title":{"rendered":"Cum s\u0103 genera\u021bi chei SSH pe Windows utiliz\u00e2nd PuTTYgen"},"content":{"rendered":"<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">PuTTYgen is a tool included with the PuTTY suite that allows you to generate SSH key pairs for secure authentication when connecting to a server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An SSH key pair consists of:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <strong>private key<\/strong>, which remains on your computer.<\/li>\n\n\n\n<li>A <strong>public key<\/strong>, which is added to the server.<\/li>\n<\/ul>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-generate-ssh-keys-on-windows-using-puttygen\/#Step_1_Download_and_Open_PuTTYgen\" >Step 1: Download and Open PuTTYgen<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-generate-ssh-keys-on-windows-using-puttygen\/#Step_2_Generate_a_New_Key_Pair\" >Step 2: Generate a New Key Pair<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-generate-ssh-keys-on-windows-using-puttygen\/#Step_3_Protect_the_Private_Key\" >Step 3: Protect the Private Key<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-generate-ssh-keys-on-windows-using-puttygen\/#Step_4_Save_the_Keys\" >Step 4: Save the Keys<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-generate-ssh-keys-on-windows-using-puttygen\/#Save_the_Public_Key\" >Save the Public Key<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-generate-ssh-keys-on-windows-using-puttygen\/#Save_the_Private_Key\" >Save the Private Key<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-generate-ssh-keys-on-windows-using-puttygen\/#Step_5_Add_the_Public_Key_to_the_Server\" >Step 5: Add the Public Key to the Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-generate-ssh-keys-on-windows-using-puttygen\/#Using_the_Private_Key_with_PuTTY\" >Using the Private Key with PuTTY<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-generate-ssh-keys-on-windows-using-puttygen\/#Security_Recommendations\" >Security Recommendations<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-generate-ssh-keys-on-windows-using-puttygen\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Download_and_Open_PuTTYgen\"><\/span>Step 1: Download and Open PuTTYgen<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<\/div>\n\n<div id=\"mybox-2874961298\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Acces timpuriu<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Mai ave\u021bi nevoie de ajutor?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contacta\u021bi echipa noastr\u0103 de servicii pentru clien\u021bi.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Trimite mesaj<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">Desc\u0103rca\u021bi \u0219i instala\u021bi PuTTYgen ca parte a pachetului PuTTY.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Lansa\u021bi <strong>PuTTYgen<\/strong> din meniul Start sau din directorul de instalare.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Generate_a_New_Key_Pair\"><\/span>Pasul 2: Genera\u021bi o nou\u0103 pereche de chei<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u00cen fereastra PuTTYgen, face\u021bi clic pe <strong>Generate<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00cen timp ce cheia este generat\u0103, mi\u0219ca\u021bi cursorul mouse-ului \u00een mod aleatoriu \u00een interiorul ferestrei aplica\u021biei. Aceste mi\u0219c\u0103ri asigur\u0103 caracterul aleatoriu necesar pentru crearea unei chei sigure.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Odat\u0103 ce procesul este finalizat, PuTTYgen va afi\u0219a informa\u021biile privind cheia generat\u0103.<\/p>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"619\" height=\"486\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/06\/image-45.png\" alt=\"\" class=\"wp-image-9518\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/06\/image-45.png 619w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/06\/image-45-300x236.png 300w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/06\/image-45-15x12.png 15w\" sizes=\"auto, (max-width: 619px) 100vw, 619px\" \/><\/figure>\n<\/div>\n\n<div class=\"translation-block translation-block-merged\">\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Protect_the_Private_Key\"><\/span>Pasul 3: Protejarea cheii private<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u00cen c\u00e2mpurile urm\u0103toare, introduce\u021bi o fraz\u0103 de acces:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Fraz\u0103 de acces pentru cheie<\/strong><\/li>\n\n\n\n<li><strong>Confirma\u021bi fraza de acces<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">O fraz\u0103 de acces ajut\u0103 la protejarea cheii private \u00een cazul \u00een care aceasta este copiat\u0103 sau accesat\u0103 de o persoan\u0103 neautorizat\u0103.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pentru o securitate sporit\u0103, utiliza\u021bi o fraz\u0103 de acces puternic\u0103 care s\u0103 con\u021bin\u0103 o combina\u021bie de:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Litere majuscule<\/li>\n\n\n\n<li>Litere minuscule<\/li>\n\n\n\n<li>Cifre<\/li>\n\n\n\n<li>Caractere speciale<\/li>\n<\/ul>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"615\" height=\"487\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/06\/image-46.png\" alt=\"\" class=\"wp-image-9519\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/06\/image-46.png 615w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/06\/image-46-300x238.png 300w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/06\/image-46-15x12.png 15w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/figure>\n<\/div>\n\n<div class=\"translation-block translation-block-merged\">\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_4_Save_the_Keys\"><\/span>Pasul 4: Salva\u021bi cheile<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Dup\u0103 generarea perechii de chei, salva\u021bi ambele fi\u0219iere:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Save_the_Public_Key\"><\/span>Salva\u021bi cheia public\u0103<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Face\u021bi clic pe:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Salva\u021bi cheia public\u0103<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Alege\u021bi o loca\u021bie sigur\u0103 pe computerul dvs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Save_the_Private_Key\"><\/span>Salva\u021bi cheia privat\u0103<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Face\u021bi clic pe:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Salva\u021bi cheia privat\u0103<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Alege\u021bi o loca\u021bie sigur\u0103 \u0219i p\u0103stra\u021bi fi\u0219ierul \u00een siguran\u021b\u0103.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Important:<\/strong> Nu \u00eemp\u0103rt\u0103\u0219i\u021bi niciodat\u0103 cheia privat\u0103 cu nimeni.<\/p>\n<\/blockquote>\n\n\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"614\" height=\"212\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/06\/image-47.png\" alt=\"\" class=\"wp-image-9520\" srcset=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/06\/image-47.png 614w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/06\/image-47-300x104.png 300w, https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/06\/image-47-18x6.png 18w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/figure>\n<\/div>\n\n<div class=\"translation-block translation-block-merged\">\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_5_Add_the_Public_Key_to_the_Server\"><\/span>Step 5: Add the Public Key to the Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Open the public key file or copy the public key displayed in the PuTTYgen window.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add the key to the following file on the server:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~\/.ssh\/authorized_keys<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The public key must be added on a separate line.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Using_the_Private_Key_with_PuTTY\"><\/span>Using the Private Key with PuTTY<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When connecting through PuTTY:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open PuTTY.<\/li>\n\n\n\n<li>Navigate to <strong>Connection \u2192 SSH \u2192 Auth \u2192 Credentials<\/strong>.<\/li>\n\n\n\n<li>Select your saved private key file.<\/li>\n\n\n\n<li>Connect to the server normally.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">PuTTY will use the private key for authentication.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Security_Recommendations\"><\/span>Security Recommendations<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Keep your private key in a secure location.<\/li>\n\n\n\n<li>Use a passphrase to protect the key.<\/li>\n\n\n\n<li>Do not send private keys by email or messaging applications.<\/li>\n\n\n\n<li>Remove unused public keys from servers periodically.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To generate SSH keys on Windows, use PuTTYgen to create a key pair, protect the private key with a passphrase, and save both the public and private keys. The public key should then be added to the server&#8217;s <code>~\/.ssh\/authorized_keys<\/code> file to enable SSH key authentication.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[54],"manual_kb_tag":[952,953,954,2861,5287,5288,5289,5290,5291,5292],"class_list":["post-9514","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-ssh","manual_kb_tag-public-key","manual_kb_tag-private-key","manual_kb_tag-key-pair","manual_kb_tag-key-generation","manual_kb_tag-pugen","manual_kb_tag-passphrase-protection","manual_kb_tag-passphrase-strength","manual_kb_tag-generate-key-pair","manual_kb_tag-save-private-key","manual_kb_tag-save-public-key"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/9514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/9514\/revisions"}],"predecessor-version":[{"id":9521,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/9514\/revisions\/9521"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/media?parent=9514"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manualknowledgebasecat?post=9514"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb_tag?post=9514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}