WinCryptSSHAgent
WinCryptSSHAgent copied to clipboard
How to use with Pageant?
I am currently looking for a replacement for weasel-pageant.
My understanding is that WinCryptSSHAgent should work
- start pageant - load private key (enter password)
- just to test, I can now start Putty and connect to the server (i..e Putty will automatically find the key loaded by pageant)
- Start WinCryptSSHAgent
- it will show up in the windows system tray
- right-click the tray-icon
- When I select
Show Public Keys
it shows one key - BUT this is not the one that I have loaded in Pageant- Question 1: Is this expected? What is this key used for?
- When I select
- now I try to connect from a WSL2 terminal
- open a WSL2 terminal
- right-click the WinCryptSSHAgent icon
- click
Show WSL2 / Linux on Hyper-V settings
- click OK to copy the command
- click
- in WSL2
- create a file:
win-ssh.bash
and paste the copied code -
source win-ssh.bash
- now
ssh-add -l
works and shows a key - but again: not the key that I've loaded in Pageant- Question 2: What am I missing, so that the Key from Pageant shows up?
- create a file:
- right-click the WinCryptSSHAgent icon