{"id":873,"date":"2025-05-25T04:53:05","date_gmt":"2025-05-25T02:53:05","guid":{"rendered":"https:\/\/chauquest.com\/?p=873"},"modified":"2025-05-25T04:53:52","modified_gmt":"2025-05-25T02:53:52","slug":"how-to-use-keepassxc-ssh-agent-with-git","status":"publish","type":"post","link":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/","title":{"rendered":"How to use KeepassXC ssh-agent with Git"},"content":{"rendered":"<div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">I was fed up to always type my passphrase when using git. I show you what modification you need to do in order to use the auto ssh-agent offered with KeepassXC.<\/p><p class=\"wp-block-post-excerpt__more-text\"><a class=\"wp-block-post-excerpt__more-link\" href=\"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/\"><br><\/a><\/p><\/div>\n\n\n<p class=\"wp-block-paragraph\">First why KeepassXC ? In my point of view it is a far superior alternative to Keepass original client:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>multi-platform<\/strong> : Linux, Windows, MacOS <\/li>\n\n\n\n<li><strong>Easy synchronization<\/strong> through any cloud services (Nextcloud Included)<\/li>\n\n\n\n<li><strong>WebIntegration <\/strong>in firefox and other browser<\/li>\n\n\n\n<li><strong>SSH agent <\/strong>automatic setup<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Today we will mainly focus on the last point ! How to setup the SSH-agent in order to use it directly in GIT. It seems straightforward but actually, it is fairly buggy and need some annoying trick.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is well better to setup a <strong>passphrase <\/strong>with your ssh key because in the case your private key get stolen nobody can use it without your passphrase, however it is really annoying to <strong>input the passphrase all the time.<\/strong> <strong>KeepassXC <\/strong>provide you with a tool that setup <strong>ssh-agent automatically<\/strong> when you <strong>unlock database.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">KeepassXC setup<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Mainly need to change some settings and to setup the entry that will contain the SSH-agent.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Settings <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">in <code>Tools\/settings<\/code> search the <strong><em>SSH Agent<\/em><\/strong> tab. here you should only tick the <strong><em>Enable SSH Agent Integration<\/em><\/strong> and <strong><em>Use OpenSSH<\/em><\/strong>. Everything should directly be fine.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a85b640ad675&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a85b640ad675\" class=\"wp-block-image aligncenter size-large is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"551\" 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:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-3-1024x551.png\" alt=\"\" class=\"wp-image-877\" style=\"width:600px\" srcset=\"https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-3-1024x551.png 1024w, https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-3-300x161.png 300w, https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-3-768x413.png 768w, https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-3.png 1465w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><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\">SSH Agent setting tab<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Entry setup<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First in KeepassXC you need to create a new entry were you are going to paste the passphrase in the <em>password field<\/em>.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a85b640adc6d&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a85b640adc6d\" class=\"wp-block-image aligncenter size-large is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"551\" 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:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-1024x551.png\" alt=\"\" class=\"wp-image-874\" style=\"aspect-ratio:1.8584463483570985;object-fit:cover;width:600px\" srcset=\"https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-1024x551.png 1024w, https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-300x161.png 300w, https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-768x413.png 768w, https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image.png 1465w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><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\">Classical setup<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now from the icon in the left you are going to search <strong>Advanced<\/strong> and add your private key as attachments. <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-3-color\">(This step is not mandatory please read the disclaimer above)<\/mark><\/strong><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a85b640ae10e&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a85b640ae10e\" class=\"wp-block-image aligncenter size-large is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"551\" 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:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-1-1024x551.png\" alt=\"\" class=\"wp-image-875\" style=\"aspect-ratio:1.8591668926929275;object-fit:cover;width:600px\" srcset=\"https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-1-1024x551.png 1024w, https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-1-300x161.png 300w, https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-1-768x413.png 768w, https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-1.png 1465w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><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\">Private key as attachment<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Final step, go into the <strong>SSH agent <\/strong>tab and select your attachment and tick what option you prefer for SSH agent. <em>(for some key like this one I activate both automatic add and remove)<\/em>. <em>You can check if everything is working by clicking on <strong>Decrypt<\/strong><\/em><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a85b640ae5c9&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a85b640ae5c9\" class=\"wp-block-image aligncenter size-large is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"551\" 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:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-2-1024x551.png\" alt=\"\" class=\"wp-image-876\" style=\"width:600px\" srcset=\"https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-2-1024x551.png 1024w, https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-2-300x161.png 300w, https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-2-768x413.png 768w, https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-2.png 1465w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><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\">SSH agent tab<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">DISCLAIMER<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-accent-3-color\">As you may have seen from the step above you can either <strong>add the key as attachment or as external file<\/strong>. <strong>FOR MORE SECURITY<\/strong>, it is advised to use the key as external file because <strong>if your keepass database get stolen and open<\/strong> you will only<strong> loose your passphrase<\/strong> while the actual <strong>private key will stay on your computer.<\/strong><\/mark><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GIT configuration<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Git is an annoying boy in Windows, and it was in fact the most tricky part to make it work. Internet was not full of resources for this one. <br><strong>Please directly modify your git config file<\/strong> (because of quote and other annoying path related stuff), it can be found in <code>C:\\Users\\UserName\\.gitconfig<\/code>. Add the two following line in git in order to enable it to use ssh agent.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;core]\n\tsshCommand = 'C:\\\\Windows\\\\System32\\\\OpenSSH\\\\ssh.exe'\n&#91;gpg \"ssh\"]\n\tprogram = 'C:\\\\Windows\\\\System32\\\\OpenSSH\\\\ssh-keygen.exe'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can check if it works by doing a <code>git pull<\/code> in any of your repository. You shouldn&#8217;t be prompted anymore for your passphrase.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it for this super short tutorial ! Hope you found it useful, and that now you will use the full power of <strong>KeepassXC<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was fed up to always type my passphrase when using git. I show you what modification you need to do in order to use the auto ssh-agent offered with KeepassXC.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[49,48],"tags":[51,52,56,53,58,55],"class_list":["post-873","post","type-post","status-publish","format-standard","hentry","category-it-development","category-micro-tips","tag-it","tag-keepass","tag-keepassxc","tag-password","tag-ssh-agent","tag-version-control"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"I was fed up to always type my passphrase when using git. I show you what modification you need to do in order to use the auto ssh-agent offered with KeepassXC.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Chauchat Eymeric\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Eymeric Chauchat - my Engineering blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to use KeepassXC ssh-agent with Git - Eymeric Chauchat\" \/>\n\t\t<meta property=\"og:description\" content=\"I was fed up to always type my passphrase when using git. I show you what modification you need to do in order to use the auto ssh-agent offered with KeepassXC.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-05-25T02:53:05+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-05-25T02:53:52+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to use KeepassXC ssh-agent with Git - Eymeric Chauchat\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I was fed up to always type my passphrase when using git. I show you what modification you need to do in order to use the auto ssh-agent offered with KeepassXC.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/micro-tips\\\/how-to-use-keepassxc-ssh-agent-with-git\\\/#blogposting\",\"name\":\"How to use KeepassXC ssh-agent with Git - Eymeric Chauchat\",\"headline\":\"How to use KeepassXC ssh-agent with Git\",\"author\":{\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/author\\\/chauquest-com\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/chauquest.com\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/chauquest.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/image-3-1024x551.png\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/micro-tips\\\/how-to-use-keepassxc-ssh-agent-with-git\\\/#articleImage\"},\"datePublished\":\"2025-05-25T04:53:05+02:00\",\"dateModified\":\"2025-05-25T04:53:52+02:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/micro-tips\\\/how-to-use-keepassxc-ssh-agent-with-git\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/micro-tips\\\/how-to-use-keepassxc-ssh-agent-with-git\\\/#webpage\"},\"articleSection\":\"IT &amp; Development, Micro-Tips, IT, Keepass, keepassXC, password, ssh-agent, version-control\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/micro-tips\\\/how-to-use-keepassxc-ssh-agent-with-git\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/chauquest.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/chauquest.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/category\\\/engineering\\\/#listItem\",\"name\":\"Engineering\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/category\\\/engineering\\\/#listItem\",\"position\":2,\"name\":\"Engineering\",\"item\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/category\\\/engineering\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/category\\\/engineering\\\/it-development\\\/#listItem\",\"name\":\"IT &amp; Development\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/chauquest.com#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/category\\\/engineering\\\/it-development\\\/#listItem\",\"position\":3,\"name\":\"IT &amp; Development\",\"item\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/category\\\/engineering\\\/it-development\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/micro-tips\\\/how-to-use-keepassxc-ssh-agent-with-git\\\/#listItem\",\"name\":\"How to use KeepassXC ssh-agent with Git\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/category\\\/engineering\\\/#listItem\",\"name\":\"Engineering\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/micro-tips\\\/how-to-use-keepassxc-ssh-agent-with-git\\\/#listItem\",\"position\":4,\"name\":\"How to use KeepassXC ssh-agent with Git\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/category\\\/engineering\\\/it-development\\\/#listItem\",\"name\":\"IT &amp; Development\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/#person\",\"name\":\"Chauchat Eymeric\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/micro-tips\\\/how-to-use-keepassxc-ssh-agent-with-git\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/733daea7054c24e570a41a59b2a06d4b4c62fa3d15233b6543f4f65698b9c0f2?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Chauchat Eymeric\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/author\\\/chauquest-com\\\/#author\",\"url\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/author\\\/chauquest-com\\\/\",\"name\":\"Chauchat Eymeric\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/micro-tips\\\/how-to-use-keepassxc-ssh-agent-with-git\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/733daea7054c24e570a41a59b2a06d4b4c62fa3d15233b6543f4f65698b9c0f2?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Chauchat Eymeric\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/micro-tips\\\/how-to-use-keepassxc-ssh-agent-with-git\\\/#webpage\",\"url\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/micro-tips\\\/how-to-use-keepassxc-ssh-agent-with-git\\\/\",\"name\":\"How to use KeepassXC ssh-agent with Git - Eymeric Chauchat\",\"description\":\"I was fed up to always type my passphrase when using git. I show you what modification you need to do in order to use the auto ssh-agent offered with KeepassXC.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/chauquest.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/micro-tips\\\/how-to-use-keepassxc-ssh-agent-with-git\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/author\\\/chauquest-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/chauquest.com\\\/index.php\\\/author\\\/chauquest-com\\\/#author\"},\"datePublished\":\"2025-05-25T04:53:05+02:00\",\"dateModified\":\"2025-05-25T04:53:52+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/chauquest.com\\\/#website\",\"url\":\"https:\\\/\\\/chauquest.com\\\/\",\"name\":\"chauquest.com\",\"description\":\"my Engineering blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/chauquest.com\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to use KeepassXC ssh-agent with Git - Eymeric Chauchat","description":"I was fed up to always type my passphrase when using git. I show you what modification you need to do in order to use the auto ssh-agent offered with KeepassXC.","canonical_url":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/#blogposting","name":"How to use KeepassXC ssh-agent with Git - Eymeric Chauchat","headline":"How to use KeepassXC ssh-agent with Git","author":{"@id":"https:\/\/chauquest.com\/index.php\/author\/chauquest-com\/#author"},"publisher":{"@id":"https:\/\/chauquest.com\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/chauquest.com\/wp-content\/uploads\/2025\/05\/image-3-1024x551.png","@id":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/#articleImage"},"datePublished":"2025-05-25T04:53:05+02:00","dateModified":"2025-05-25T04:53:52+02:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/#webpage"},"isPartOf":{"@id":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/#webpage"},"articleSection":"IT &amp; Development, Micro-Tips, IT, Keepass, keepassXC, password, ssh-agent, version-control"},{"@type":"BreadcrumbList","@id":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/chauquest.com#listItem","position":1,"name":"Home","item":"https:\/\/chauquest.com","nextItem":{"@type":"ListItem","@id":"https:\/\/chauquest.com\/index.php\/category\/engineering\/#listItem","name":"Engineering"}},{"@type":"ListItem","@id":"https:\/\/chauquest.com\/index.php\/category\/engineering\/#listItem","position":2,"name":"Engineering","item":"https:\/\/chauquest.com\/index.php\/category\/engineering\/","nextItem":{"@type":"ListItem","@id":"https:\/\/chauquest.com\/index.php\/category\/engineering\/it-development\/#listItem","name":"IT &amp; Development"},"previousItem":{"@type":"ListItem","@id":"https:\/\/chauquest.com#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/chauquest.com\/index.php\/category\/engineering\/it-development\/#listItem","position":3,"name":"IT &amp; Development","item":"https:\/\/chauquest.com\/index.php\/category\/engineering\/it-development\/","nextItem":{"@type":"ListItem","@id":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/#listItem","name":"How to use KeepassXC ssh-agent with Git"},"previousItem":{"@type":"ListItem","@id":"https:\/\/chauquest.com\/index.php\/category\/engineering\/#listItem","name":"Engineering"}},{"@type":"ListItem","@id":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/#listItem","position":4,"name":"How to use KeepassXC ssh-agent with Git","previousItem":{"@type":"ListItem","@id":"https:\/\/chauquest.com\/index.php\/category\/engineering\/it-development\/#listItem","name":"IT &amp; Development"}}]},{"@type":"Person","@id":"https:\/\/chauquest.com\/#person","name":"Chauchat Eymeric","image":{"@type":"ImageObject","@id":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/733daea7054c24e570a41a59b2a06d4b4c62fa3d15233b6543f4f65698b9c0f2?s=96&d=mm&r=g","width":96,"height":96,"caption":"Chauchat Eymeric"}},{"@type":"Person","@id":"https:\/\/chauquest.com\/index.php\/author\/chauquest-com\/#author","url":"https:\/\/chauquest.com\/index.php\/author\/chauquest-com\/","name":"Chauchat Eymeric","image":{"@type":"ImageObject","@id":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/733daea7054c24e570a41a59b2a06d4b4c62fa3d15233b6543f4f65698b9c0f2?s=96&d=mm&r=g","width":96,"height":96,"caption":"Chauchat Eymeric"}},{"@type":"WebPage","@id":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/#webpage","url":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/","name":"How to use KeepassXC ssh-agent with Git - Eymeric Chauchat","description":"I was fed up to always type my passphrase when using git. I show you what modification you need to do in order to use the auto ssh-agent offered with KeepassXC.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/chauquest.com\/#website"},"breadcrumb":{"@id":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/#breadcrumblist"},"author":{"@id":"https:\/\/chauquest.com\/index.php\/author\/chauquest-com\/#author"},"creator":{"@id":"https:\/\/chauquest.com\/index.php\/author\/chauquest-com\/#author"},"datePublished":"2025-05-25T04:53:05+02:00","dateModified":"2025-05-25T04:53:52+02:00"},{"@type":"WebSite","@id":"https:\/\/chauquest.com\/#website","url":"https:\/\/chauquest.com\/","name":"chauquest.com","description":"my Engineering blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/chauquest.com\/#person"}}]},"og:locale":"en_US","og:site_name":"Eymeric Chauchat - my Engineering blog","og:type":"article","og:title":"How to use KeepassXC ssh-agent with Git - Eymeric Chauchat","og:description":"I was fed up to always type my passphrase when using git. I show you what modification you need to do in order to use the auto ssh-agent offered with KeepassXC.","og:url":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/","article:published_time":"2025-05-25T02:53:05+00:00","article:modified_time":"2025-05-25T02:53:52+00:00","twitter:card":"summary_large_image","twitter:title":"How to use KeepassXC ssh-agent with Git - Eymeric Chauchat","twitter:description":"I was fed up to always type my passphrase when using git. I show you what modification you need to do in order to use the auto ssh-agent offered with KeepassXC."},"aioseo_meta_data":{"post_id":"873","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"KeepassXC ssh-agent with Git","score":74},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":"#post_title #separator_sa #site_title","og_description":"#post_excerpt","og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2025-05-25 02:53:09","updated":"2026-08-14 20:09:43","focus_keyword":"KeepassXC ssh-agent with Git","additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/chauquest.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/chauquest.com\/index.php\/category\/engineering\/\" title=\"Engineering\">Engineering<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/chauquest.com\/index.php\/category\/engineering\/it-development\/\" title=\"IT &amp; Development\">IT &amp; Development<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to use KeepassXC ssh-agent with Git\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/chauquest.com"},{"label":"Engineering","link":"https:\/\/chauquest.com\/index.php\/category\/engineering\/"},{"label":"IT &amp; Development","link":"https:\/\/chauquest.com\/index.php\/category\/engineering\/it-development\/"},{"label":"How to use KeepassXC ssh-agent with Git","link":"https:\/\/chauquest.com\/index.php\/micro-tips\/how-to-use-keepassxc-ssh-agent-with-git\/"}],"_links":{"self":[{"href":"https:\/\/chauquest.com\/index.php\/wp-json\/wp\/v2\/posts\/873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chauquest.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chauquest.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chauquest.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chauquest.com\/index.php\/wp-json\/wp\/v2\/comments?post=873"}],"version-history":[{"count":2,"href":"https:\/\/chauquest.com\/index.php\/wp-json\/wp\/v2\/posts\/873\/revisions"}],"predecessor-version":[{"id":879,"href":"https:\/\/chauquest.com\/index.php\/wp-json\/wp\/v2\/posts\/873\/revisions\/879"}],"wp:attachment":[{"href":"https:\/\/chauquest.com\/index.php\/wp-json\/wp\/v2\/media?parent=873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chauquest.com\/index.php\/wp-json\/wp\/v2\/categories?post=873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chauquest.com\/index.php\/wp-json\/wp\/v2\/tags?post=873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}