{"id":6344,"date":"2025-02-03T11:36:59","date_gmt":"2025-02-03T10:36:59","guid":{"rendered":"https:\/\/www.lrob.fr\/?page_id=6344"},"modified":"2025-02-03T11:36:59","modified_gmt":"2025-02-03T10:36:59","slug":"generating-public-and-private-keys-with-puttygen","status":"publish","type":"page","link":"https:\/\/www.lrob.fr\/en\/doc\/administration\/generer-une-cle-publique-et-privee-avec-puttygen\/","title":{"rendered":"Generate public and private keys with PuTTYgen (Windows)"},"content":{"rendered":"<p class=\"wp-block-paragraph\">You wish to <a href=\"https:\/\/www.lrob.fr\/en\/features\/secure-web-host-cybersecurity\/\">secure<\/a> your SSH or SFTP connections under Windows? This step-by-step guide shows you how to generate an SSH key pair (public and private) using PuTTYgen, and how to use it in PuTTY and FileZilla for your SSH and SFTP connections. This may come in handy for some developers needing to connect to a <a href=\"https:\/\/www.lrob.fr\/en\/web-hosting\/\">web hosting<\/a>.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Contents<\/h2><nav><ul><li><a href=\"#pourquoi-utiliser-une-cle-ssh-pour-sauthentifier\">Why use an SSH key for authentication?<\/a><\/li><li><a href=\"#preparer-loutil-pu-tt-ygen\">1. Download PuTTYgen<\/a><\/li><li><a href=\"#generer-une-cle-privee-publique-sous-windows\">2. Generate private\/public SSH key pairs under Windows<\/a><ul><li><a href=\"#q\">2.1 What type of SSH key should I choose?<\/a><\/li><li><a href=\"#gh\">2.2 Generating the SSH key<\/a><\/li><li><a href=\"#s\">2.3 Saving the SSH key<\/a><\/li><\/ul><\/li><li><a href=\"#q-1\">What SSH key do I need to authorize access?<\/a><\/li><li><a href=\"#u\">Set up SSH key for SSH connection (PuTTY, Windows)<\/a><\/li><li><a href=\"#utiliser-une-cle-rsa-pour-sftp-file-zilla-windows\">Using an SSH key for SFTP (FileZilla Windows)<\/a><\/li><li><a href=\"#dou-vient-le-nom-pu-tty\">Bonus: Where does the name \u00abPuTTY\u00bb come from?<\/a><\/li><li><a href=\"#c\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"pourquoi-utiliser-une-cle-ssh-pour-sauthentifier\">Why use an SSH key for authentication?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Using an SSH key for authentication considerably strengthens the security of remote connections, especially via SSH or SFTP.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unlike a password, which can be guessed or intercepted, an SSH key is based on an asymmetric encryption mechanism: only the person who has the <strong>private key<\/strong> can access the server authorizing its <strong>public key<\/strong> corresponding.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This system greatly reduces the risk of intrusion, and automates secure connections without having to enter a password every time.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"preparer-loutil-pu-tt-ygen\">1. Download PuTTYgen<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here are direct links to the latest official 64-bit x86 (recommended) and ARM versions.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/the.earth.li\/~sgtatham\/putty\/latest\/w64\/puttygen.exe\" target=\"_blank\" rel=\"noopener\">Download PuTTYGen 64-bit x86<\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/the.earth.li\/~sgtatham\/putty\/latest\/wa64\/puttygen.exe\" target=\"_blank\" rel=\"noopener\">Download PuTTYGen 64-bit ARM<\/a><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">These links can be found on the official websites:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>official website : <a href=\"https:\/\/www.putty.org\" target=\"_blank\" rel=\"noopener\">https:\/\/www.putty.org<\/a><\/strong>.<\/li>\n\n\n\n<li>Click on <strong>Download Putty<\/strong>. You will arrive on the <a href=\"https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html<\/a>, which is also an official site.<\/li>\n\n\n\n<li>Click on \u00ab\u00a0<strong>puttygen.exe<\/strong>\u00a0\u00bbto match your architecture (usually <strong>64-bit x86<\/strong>) to download it.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>NB: Place the tool in the folder of your choice for easy retrieval.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"generer-une-cle-privee-publique-sous-windows\">2. Generate private\/public SSH key pairs under Windows<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once PuTTY has been launched, you will see the following window:<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a4def37c69e0&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a4def37c69e0\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"596\" height=\"467\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/puttygen.png\" alt=\"\" class=\"wp-image-6345\" srcset=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/puttygen.png 596w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/puttygen-300x235.png 300w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/puttygen-150x118.png 150w\" sizes=\"auto, (max-width: 596px) 100vw, 596px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The first setting to make is at the very bottom: key type and size.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"q\">2.1 What type of SSH key should I choose?<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The choice \u00ab\u00a0<strong>RSA<\/strong>\u00a0\u00bbThe default setting is correct.<\/li>\n\n\n\n<li><strong>Our recommendation for 2025 is the EdDSA mode<\/strong>, which allows shorter public keys with an equivalent level of security, and most servers are compatible.<\/li>\n\n\n\n<li>The other modes are generally unused, and for reasons of security and modern compatibility, SSH-1 should be avoided (unless you're connecting to a server that's more than 10 years old).<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"gh\">2.2 Generating the SSH key<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Once the key type has been selected (or left as default)<\/li>\n\n\n\n<li>Click on \u00abGenerate<\/li>\n\n\n\n<li>Move your mouse randomly in the middle of the window to generate the random values required to secure the SSH key.<\/li>\n<\/ul>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a4def37c6c7a&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a4def37c6c7a\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"595\" height=\"466\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/puttygen-move-mouse.png\" alt=\"\" class=\"wp-image-6346\" srcset=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/puttygen-move-mouse.png 595w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/puttygen-move-mouse-300x235.png 300w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/puttygen-move-mouse-150x117.png 150w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"s\">2.3 Saving the SSH key<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Attention<\/strong> If you lose your private key, you lose your access. If you lose your public key, no one can grant you new access. If someone gets your keys, they can connect to the same services as you. So you need to keep your key in a safe, private place.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once the key has been generated, the following screen appears:<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a4def37c6e2d&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a4def37c6e2d\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"591\" height=\"462\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/puttygen-key-comment-and-save.png\" alt=\"\" class=\"wp-image-6347\" srcset=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/puttygen-key-comment-and-save.png 591w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/puttygen-key-comment-and-save-300x235.png 300w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/puttygen-key-comment-and-save-150x117.png 150w\" sizes=\"auto, (max-width: 591px) 100vw, 591px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the \u00abKey Comment\u00bb section, add a relevant comment, so that we know who owns the key - for example, your first name. This comment will be added at the end of your public key.<\/li>\n\n\n\n<li>Optionally, you can define a \u00abpassphrase\u00bb that will be prompted each time you connect. This protects you if your SSH key is stolen, but forces you to retype a password each time.<\/li>\n\n\n\n<li>Click on \u00abSave public key\u00bb, and give it a relevant name, e.g. \u00abprenom.pub.key\u00bb, and save it in a valuable folder.<\/li>\n\n\n\n<li>Click on \u00abSave private key\u00bb, validate the warning and give it an appropriate name, e.g. \u00abprenom.priv.ppk\u00bb, then save it in a precious folder.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"q-1\">What SSH key do I need to authorize access?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u26a0\ufe0f <strong>Attention <\/strong>: <strong>Your private key is like a password: it must remain strictly private.<\/strong>. If you provide your private key to a third party, they will be able to connect to the same servers as you.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When a service provider asks for your SSH key to authorize access, <strong>it asks for your public key<\/strong> and only this one.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"u\">Set up SSH key for SSH connection (PuTTY, Windows)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Beforehand :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Download PuTTY on the <a href=\"https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html\" target=\"_blank\" rel=\"noopener\">official download page<\/a>.<\/li>\n\n\n\n<li>Place it in a folder where you will find it again, for example the same folder as PuTTYgen.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Once you've launched putty.exe, you'll see the following screen:<\/p>\n\n\n\n<div class=\"wp-block-columns are-vertically-aligned-top is-layout-flex wp-container-core-columns-is-layout-794e3cfa wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a4def37c706c&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a4def37c706c\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"452\" height=\"442\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-screenshot-main-screen.png\" alt=\"\" class=\"wp-image-7263\" srcset=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-screenshot-main-screen.png 452w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-screenshot-main-screen-300x293.png 300w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-screenshot-main-screen-150x147.png 150w\" sizes=\"auto, (max-width: 452px) 100vw, 452px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\">\n<ul class=\"wp-block-list\">\n<li>Enter server (host name) or server IP<\/li>\n\n\n\n<li>Enter port (default SSH port: 22)<\/li>\n\n\n\n<li>In the \u00abSaved sessions\u00bb field, choose a name for the connection, for example \u00abMy site srv01\u00bb.\u00bb<\/li>\n<\/ul>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>See an example<\/summary>\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a4def37c7218&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a4def37c7218\" class=\"wp-block-image size-full wp-lightbox-container\"><img decoding=\"async\" width=\"452\" height=\"442\" fetchpriority=\"low\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-1page-remplie.png\" alt=\"\" class=\"wp-image-7264\" srcset=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-1page-remplie.png 452w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-1page-remplie-300x293.png 300w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-1page-remplie-150x147.png 150w\" sizes=\"(max-width: 452px) 100vw, 452px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n<\/details>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-794e3cfa wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"452\" height=\"442\" src=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-login.png\" alt=\"\" class=\"wp-image-7265\" srcset=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-login.png 452w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-login-300x293.png 300w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-login-150x147.png 150w\" sizes=\"auto, (max-width: 452px) 100vw, 452px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<ul class=\"wp-block-list\">\n<li>Go to the tab: Connection\/Data<\/li>\n\n\n\n<li>In \u00abAuto-login username\u00bb, define your SSH user name (in the example: mysite-user).<\/li>\n<\/ul>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-794e3cfa wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"452\" height=\"442\" src=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-select-ssh-key.png\" alt=\"\" class=\"wp-image-7266\" srcset=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-select-ssh-key.png 452w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-select-ssh-key-300x293.png 300w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/putty-select-ssh-key-150x147.png 150w\" sizes=\"auto, (max-width: 452px) 100vw, 452px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<ul class=\"wp-block-list\">\n<li>Go to the tab: Connection\/SSH\/Auth\/Credentials<\/li>\n\n\n\n<li>In the \u00abPublic-key authentication\u00bb field, click on \u00abBrowse\u00bb to fetch your private key, previously generated with PuTTYgen.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-794e3cfa wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"452\" height=\"442\" src=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/PuTTY-back-to-first-tab.png\" alt=\"\" class=\"wp-image-7267\" srcset=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/PuTTY-back-to-first-tab.png 452w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/PuTTY-back-to-first-tab-300x293.png 300w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/PuTTY-back-to-first-tab-150x147.png 150w\" sizes=\"auto, (max-width: 452px) 100vw, 452px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<ul class=\"wp-block-list\">\n<li>Return to the first \u00abSession\u00bb tab\u00bb<\/li>\n\n\n\n<li>Save the session by clicking on \u00abSave\u00bb.\u00bb<\/li>\n<\/ul>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-794e3cfa wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"452\" height=\"442\" src=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/PuTTY-save-session.png\" alt=\"\" class=\"wp-image-7268\" srcset=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/PuTTY-save-session.png 452w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/PuTTY-save-session-300x293.png 300w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/05\/PuTTY-save-session-150x147.png 150w\" sizes=\"auto, (max-width: 452px) 100vw, 452px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Congratulations, you've successfully configured your SSH key!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To log in, simply :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Double-click on the connection name in the list<\/li>\n\n\n\n<li>Or click on the connection name and then on \u00abOpen\u00bb.\u00bb<\/li>\n<\/ul>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"utiliser-une-cle-rsa-pour-sftp-file-zilla-windows\">Using an SSH key for SFTP (FileZilla Windows)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">SFTP lets you browse files on a server using the SSH protocol. The connection is therefore encrypted, and we'll look at how to authenticate yourself with an SSH key for an SFTP connection.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go to \u00abSite Manager :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Under \u00abFile\u00bb, then \u00abSite Manager\u00bb.<\/li>\n\n\n\n<li>Or click on the first icon at top left, under the \u00abFile\u00bb menu.<\/li>\n<\/ul>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a4def37c7834&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a4def37c7834\" class=\"wp-block-image aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"889\" height=\"555\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/filezilla-sftp-ssh-key.png\" alt=\"\" class=\"wp-image-6348\" srcset=\"https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/filezilla-sftp-ssh-key.png 889w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/filezilla-sftp-ssh-key-300x187.png 300w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/filezilla-sftp-ssh-key-150x94.png 150w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/filezilla-sftp-ssh-key-768x479.png 768w, https:\/\/www.lrob.fr\/wp-content\/uploads\/2025\/02\/filezilla-sftp-ssh-key-600x375.png 600w\" sizes=\"auto, (max-width: 889px) 100vw, 889px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">FileZilla site manager<\/figcaption><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the bottom left-hand corner, click on \u00abNew site\u00bb, then name this access and make sure it's selected (highlighted).<\/li>\n\n\n\n<li>In the right-hand pane, select the <strong>SFTP protocol<\/strong> and enter the IP or hostname of the server provided by the host. <em>Note: the default port for SSH and SFTP is 22, which will be applied if you leave this field empty.<\/em><\/li>\n\n\n\n<li>Choose the <strong>Key File\u00ab login type\u00bb<\/strong><\/li>\n\n\n\n<li>In \u00abUser\u00bb, enter the\u2019<strong>user <\/strong>to which you wish to connect<\/li>\n\n\n\n<li>In \u00abKey File\u00bb, click on \u00ab\u00a0<strong>Browse<\/strong>\u00a0\u00bb(browse) to enter your <strong>private key<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">You can then click on \u00abConnect\u00bb to log in, and recall this site manager window for future connections.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"dou-vient-le-nom-pu-tty\">Bonus: Where does the name \u00abPuTTY\u00bb come from?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The name <strong>PuTTY<\/strong> is a technical pun. It refers to <strong>TTY<\/strong> (short for <em>teletypewriter<\/em>), a term inherited from the first text-based terminals used in UNIX and Linux. Even today, command-line interfaces (such as virtual consoles or SSH terminals) that let you interact with a system via text are still called \u00abTTY\u00bb. PuTTY, on the other hand, is a <strong>SSH client<\/strong> (Secure Shell), a protocol that allows you to connect <strong>secure remote access<\/strong> to a server, often Linux, via a terminal. The name combines the idea of \u00abTTY\u00bb with the software's objective: to facilitate secure connections to remote systems from a Windows environment.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"c\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">By following this tutorial, you've generated a secure SSH key pair and configured your SFTP access with FileZilla. Don't forget to keep your private key and save your public key for future authorizations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want a web host that supports SSH and SFTP, choose a <a href=\"https:\/\/www.lrob.fr\/en\/web-hosting\/\">LRob Web Hosting<\/a>. If you have 4 or more sites, don't miss our offers <a href=\"https:\/\/www.lrob.fr\/en\/web-hosting\/web-agency\/\">Web Agency<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Vous souhaitez s\u00e9curiser vos connexions SSH ou SFTP sous Windows ? Ce guide pas-\u00e0-pas vous montre comment g\u00e9n\u00e9rer une paire de cl\u00e9s SSH (publique et priv\u00e9e) \u00e0 l&rsquo;aide de PuTTYgen, et comment l&rsquo;utiliser dans PuTTY et FileZilla pour vos connexions SSH et SFTP. Cela peut \u00eatre pratique pour certains d\u00e9veloppeurs ayant besoin de se connecter [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5919,"parent":6341,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-6344","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.lrob.fr\/en\/wp-json\/wp\/v2\/pages\/6344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lrob.fr\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.lrob.fr\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.lrob.fr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lrob.fr\/en\/wp-json\/wp\/v2\/comments?post=6344"}],"version-history":[{"count":0,"href":"https:\/\/www.lrob.fr\/en\/wp-json\/wp\/v2\/pages\/6344\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.lrob.fr\/en\/wp-json\/wp\/v2\/pages\/6341"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lrob.fr\/en\/wp-json\/wp\/v2\/media\/5919"}],"wp:attachment":[{"href":"https:\/\/www.lrob.fr\/en\/wp-json\/wp\/v2\/media?parent=6344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}