![]() Before using a YubiKey, I used it as my standard SSH agent on Windows with an on-disk private key, and it worked well.ĭr. ![]() This agent lives in your system tray and handles authentication with your SSH private keys. PuTTY (and compatible programs, such as WinSCP and MobaXterm) use the Pageant SSH agent (included with PuTTY). Most of the software I use here is available with Scoop: scoop bucket add extras 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.
0 Comments
Leave a Reply. |