{"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-05-01T12:24:08","modified_gmt":"2025-05-01T10:24:08","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=\"translation-block\">Would you like to <a href=\"https:\/\/www.lrob.fr\/en\/features\/secure-web-host-cybersecurity\/\" target=\"_self\">secure<\/a> your SSH or SFTP connections on 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\/\" target=\"_self\">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 \"PuTTY\" 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>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=\"translation-block\">Unlike a password, which can be guessed or intercepted, an SSH key is based on an asymmetrical encryption mechanism: only the person with the <strong>private key<\/strong> can access the server authorizing its corresponding <strong>public key<\/strong>.<\/p>\n\n\n\n<p>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>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>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 class=\"translation-block\">Click on \"<strong>puttygen.exe<\/strong>\" corresponding to your architecture (usually <strong>64-bit x86<\/strong>) to download it.<\/li>\n<\/ol>\n\n\n\n<p><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>Once PuTTY has been launched, you will see the following window:<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a0858b2bde83&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a0858b2bde83\" 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-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\taria-label=\"Enlarge\"\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.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\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>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 class=\"translation-block\">The default \"<strong>RSA<\/strong>\" is correct.<\/li>\n\n\n\n<li class=\"translation-block\"><strong>Our recommendation in 2025 is EdDSA<\/strong> mode, 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 \"Generate<\/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;6a0858b2be1b4&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a0858b2be1b4\" 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-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\taria-label=\"Enlarge\"\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.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\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=\"translation-block\"><strong>Beware<\/strong>: If you lose your private key, you lose your access. If you lose your public key, you can't be granted new access. If someone recovers 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>Once the key has been generated, the following screen appears:<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a0858b2be3b7&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a0858b2be3b7\" 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-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\taria-label=\"Enlarge\"\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.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\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 \"Key Comment\" 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 \"passphrase\" that will be prompted each time you connect. This protects you in case your SSH key is stolen, but forces you to retype a password each time.<\/li>\n\n\n\n<li>Click on \"Save public key\", and give it a relevant name, e.g. \"prenom.pub.key\", and save it in a valuable folder.<\/li>\n\n\n\n<li>Click on \"Save private key\", validate the warning and give it an appropriate name, e.g. \"prenom.priv.ppk\", 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=\"translation-block\">\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=\"translation-block\">When a provider asks for your SSH key to authorize access, <strong>it asks for your public key<\/strong> and only that.<\/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>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>Put 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>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-28f84493 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;6a0858b2be67a&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a0858b2be67a\" 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-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\taria-label=\"Enlarge\"\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.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\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 \"Saved sessions\" field, choose a name for the connection, for example \"My site srv01\".<\/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;6a0858b2be878&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a0858b2be878\" 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-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=\"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\taria-label=\"Enlarge\"\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.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\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-28f84493 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 \"Auto-login username\", 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-28f84493 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 \"Public-key authentication\" field, click on \"Browse\" 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-28f84493 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 \"Session\" tab<\/li>\n\n\n\n<li>Save the session by clicking on \"Save\".<\/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-28f84493 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>Congratulations, you've successfully configured your SSH key!<\/p>\n\n\n\n<p>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 \"Open\".<\/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>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>Go to \"Site Manager :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Under \"File\", then \"Site Manager\".<\/li>\n\n\n\n<li>Or click on the first icon at top left, under the \"File\" menu.<\/li>\n<\/ul>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a0858b2bee5e&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a0858b2bee5e\" 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-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\" 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\taria-label=\"Enlarge\"\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.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\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 \"New site\", then name this access and make sure it's selected (highlighted).<\/li>\n\n\n\n<li class=\"translation-block\">In the right-hand pane, select the <strong>SFTP protocol<\/strong> and fill in the IP or hostname of the server provided by the hosting provider. <em>Note: the default port per standard for SSH and SFTP is port 22, which will be applied if you leave this field blank.<\/em><\/li>\n\n\n\n<li class=\"translation-block\">Choose the <strong>\"Key File\" login type<\/strong>.<\/li>\n\n\n\n<li class=\"translation-block\">In \"User\", enter the <strong>user<\/strong> you wish to connect to.<\/li>\n\n\n\n<li class=\"translation-block\">In \"Key File\", click on \"<strong>Browse<\/strong>\" to fill in your <strong>private key<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p>You can then click on \"Connect\" 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 \"PuTTY\" come from?<\/h2>\n\n\n\n<p class=\"translation-block\">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 \"TTY\". PuTTY, on the other hand, is a <strong>SSH<\/strong> (Secure Shell) client, a protocol that enables <strong>secure remote<\/strong> connection to a server, often Linux, via a terminal. The name thus combines the idea of \"TTY\" and 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>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>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":5,"href":"https:\/\/www.lrob.fr\/en\/wp-json\/wp\/v2\/pages\/6344\/revisions"}],"predecessor-version":[{"id":7270,"href":"https:\/\/www.lrob.fr\/en\/wp-json\/wp\/v2\/pages\/6344\/revisions\/7270"}],"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}]}}