WinCryptSSHAgent icon indicating copy to clipboard operation
WinCryptSSHAgent copied to clipboard

How to use with Pageant?

Open tmtron opened this issue 1 year ago • 0 comments

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?
  • 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
    • 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?

tmtron avatar Aug 12 '22 08:08 tmtron