Menu

#42 To allow support of windows openssh agent pipe

dev
open
Noodle
5
2023-11-23
2023-08-15
vlinx
No

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

Discussion

  • vlinx

    vlinx - 2023-08-15

    Reference: Support OpenSSH ssh-agent in WinSCP
    https://winscp.net/forum/viewtopic.php?t=26033

     
  • Noodle

    Noodle - 2023-09-05

    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.

     
  • vlinx

    vlinx - 2023-09-08

    Thanks Dong Lu, I have tested the version 7.20 patch 1. It is working as expected for this specific feature.

     
  • Noodle

    Noodle - 2023-09-09

    Thanks, released as 7.21

     
  • Noodle

    Noodle - 2023-11-23

    just to doc the usage: https://stackoverflow.com/a/68386656

    1. Enable the ssh-agent service

    Via Admin Powershell:

    Set-Service   ssh-agent -StartupType Automatic
    Start-Service ssh-agent
    

    2. Now ssh-add works

    ssh-add path/to/.ssh/id_rsa
    
     

Log in to post a comment.

MongoDB Logo MongoDB