![]() ![]() I use Scoop to install a lot of my Windows command line (and some GUI) utilities. I therefore cannot provide instructions for setting up the public and private keys without GPG. ![]() It also required custom editing of the configuration file to actually use my YubiKey.īut since I was using GPG4Win when I started, I used it to initialize the YubiKey's keys. ![]() I wrote a script to do that, but it was annoying. I commonly needed to restart the agent in order to make the public keys available again. This works, but I found gpg-agent to be less than reliable, particularly when I inserted and removed my key. Most existing documentation focuses on using the YubiKey with GPG4Win and gpg-agent's OpenSSH and Pageant compatibility layers. I occasionally use WSL, which induces yet a third set of requirements for connection. VS Code, however, only supports Windows OpenSSH for its remote sessions, so I need it to be able to connect as well. The first three can all be done with PuTTY, so as long as I can connect PuTTY to the smartcard, I'm good. Most of my local repositories are pulled over HTTPS, but a couple use SSH, and I use SSH (authenticated with a forwarded SSH agent connection) for all my repositories on servers. Remote shells via PuTTY, MobaXterm, or Windows OpenSSH.I use SSH in several places in my workflow: This page documents the pieces I need to put together in order to get it working on Windows with all of the different SSH interfaces I use: PuTTY, WinSCP, OpenSSH for Windows, and Git. Among its features, it supports being an an OpenPGP smartcard, which means - with some fiddling - it can be used for SSH authentication, so my SSH private key does not actually live on my physical computers. I use it to secure access to a number of web services I use, but also to authenticate myself over SSH. Published on Saturday, Octoand tagged with howto and tools. ![]()
0 Comments
Leave a Reply. |