-
I have the "OpenSSH Authentication Agent" (ssh-agent) service running on my machine, and I successfully added my SSH key using (PowerShell 7.3.4) > ssh-add .\.ssh\auth
Enter passphrase for .\.ssh\auth:
Identity added: .\.ssh\auth (acotten) > ssh-add -L
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBrWkMRdF5phpLftdUHIgcSnSIKunqBecVN1jgSkuz8H acotten However, > wezterm ssh myhost
(new window)
Using libssh-rs to connect to [email protected]:22
SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
Passphrase (C:\Users\acott\.ssh\auth): This does not happen if I connect to the same host with the Could anyone share some pointers about how to solve this? Update After some research, I found that the OpenSSH agent's (named) pipe was located at I tried adding the following directive to my configuration:
Unfortunately this doesn't seem supported by
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Is it possible to configure your ssh agent to use a unix domain socket instead of a named pipe? |
Beta Was this translation helpful? Give feedback.
-
Having struggled with this problem myself today, I will add for anyone happening across this page that setting |
Beta Was this translation helpful? Give feedback.
Ah, good. I was the person that added IdentityAgent support to libssh, and enabled unix domain support there for Windows (at my former place of work, we had a custom ssh agent that did some stuff with the TPM to manage secrets, and that was exposed via unix domain).
I commented on another question/issue from you about this or a similar thing: you'll need libssh to support named pipes in order for wezterm to support them.
Making unix software support named pipes is generally difficult because the semantics are similar in some ways but very different in some very painful other ways; named pipes can block forever in a number of situations, which is usually at odds with the non-blocking appro…