PuTTY Pageant generated IdentityAgent //./pipe/ path mistreated by ssh.exe

Skip to first unread message

Ilia Basin

unread,
Dec 29, 2024, 12:38:31 PM12/29/24
to git-for-windows
Hi. I have the latest PuTTY and I launch Pageant with extra arguments:
--openssh-config C:\Users\basin\.ssh\pagent.conf

It generates ~/.ssh/pagent.conf

IdentityAgent "//./pipe/pageant.basin.e94598a1ea0f882a5f8a5bf4d853bce35288203e97d0a5ce11d79a31df267728"

and I include it in the main ~/.ssh/config of Git Bash

When I try to connect to any host with the bundled ssh.exe it fails after a pause. Sysinternals Procmon shows that ssh.exe mistreats the path. It removes the dot and tries to access the local network host "pipe":

21:36:27.0980895 ssh.exe 35708 CreateFile \\pipe\pageant.basin.e94598a1ea0f882a5f8a5bf4d853bce35288203e97d0a5ce11d79a31df267728\ BAD NETWORK PATH Desired Access: Read EA, Read Attributes, Read Control, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

Is it possible to convince Git Bash/MSYS2 to handle it properly?
Reply all
Reply to author
Forward
0 new messages