4 ms·
You should be using pageant to store the secret ssh keys, and you only need to unlock the key on reboot/first use.
by orev 2y ago
You should be using pageant to store the secret ssh keys, and you only need to unlock the key on reboot/first use.
- metadat 2y ago100% agreed. For me, the stakes are very low. It's my windows "gaming" machine, and has access to a few low-value hosts. Otherwise I'd invest the time to learn wtf is pageant ;D
- wkat4242 2y agoOr just use a hardware key and enable touch to sign so you have to touch it for every action even when it's unlocked
- spacemanspiff01 2y agoWindows has a built in ssh-agent included with openssh, no need for pagent anymore. Ssh agent will manage your ssh keys through windows registry windows login process. Also if you use wsl, you can access your ssh keys in wsl from the windows ssh-agent via npiperelay
- yau8edq12i 2y agoYou don't even need a relay to use the windows SSH agent from wsl. Simply use ssh.exe instead of /bin/ssh. I've been doing that for a while (I make a symlink in a folder from my PATH that gets picked up before /bin) and haven't encountered any issues so far.
- spacemanspiff01 2y agoGood to know, I had an issue when I tried that, but thinking back it was a ssh version incompatibility between the default windows and ubuntu.