charmbracelet / wishlist

The SSH directory ✨
MIT License
1.11k stars 24 forks source link

ssh-agent support on Windows #253

Open johanneshardt opened 10 months ago

johanneshardt commented 10 months ago

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 commented 10 months ago

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 commented 8 months ago

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