To allow support of windows openssh agent pipe
Brought to you by:
ludong
The name of the windows openssh agent pipe, default is: \.\pipe\openssh-ssh-agent
(get-childitem \.\pipe).FullName | FindStr ssh
\.\pipe\openssh-ssh-agent
The community has some complicated solutions, see below.
But they are very inconvenience.
https://github.com/ndbeals/winssh-pageant
https://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/win-pageant-openssh-interop.html
PuTTY-nd supports pageant agent pipe out of box
(get-childitem \.\pipe).FullName | FindStr page
\.\pipe\pageant.user_name.uniq_id
Reference: Support OpenSSH ssh-agent in WinSCP
https://winscp.net/forum/viewtopic.php?t=26033
I love this feature!
Please try with the attachement, and turn on the config item: [Global Settings]->[Global Misc]->[Custom SSH agent], to see if it is what you want.
Thanks Dong Lu, I have tested the version 7.20 patch 1. It is working as expected for this specific feature.
Thanks, released as 7.21
just to doc the usage: https://stackoverflow.com/a/68386656
1. Enable the ssh-agent service
Via Admin Powershell:
2. Now ssh-add works