Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh-agent support on Windows #253

Open
johanneshardt opened this issue Dec 19, 2023 · 2 comments
Open

ssh-agent support on Windows #253

johanneshardt opened this issue Dec 19, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@johanneshardt
Copy link

Trying to connect to one of my hosts in ~/.ssh/config, I noticed that doesn't seem to support authentication with ssh-agent on Windows.

@johanneshardt
Copy link
Author

johanneshardt commented Dec 19, 2023

Oof, accidentally posted early, here's the rest:

Running ssh myhost works fine and doesn't prompt me for my ssh key passphrase, whereas connecting through wishlist asks me everytime. Also, authentication fails if I do not specify IdentityFile in my config. I took a quick look at client_auth.go, it seems that wishlist connects to ssh-agent through the socket specified in $SSH_AUTH_SOCK, which seems work a bit differently on windows, with communication happening over a named pipe instead of unix socket. Is support for the Windows OpenSSH agent planned?

@caarlos0 caarlos0 self-assigned this Feb 29, 2024
@caarlos0 caarlos0 added the enhancement New feature or request label Feb 29, 2024
@caarlos0
Copy link
Member

I'll look into it, thanks - and sorry for the late reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants