Closed MatejVitek closed 2 years ago
debug2: get_agent_identities: ssh_agent_bind_hostkey: communication with agent failed
debug1: get_agent_identities: ssh_fetch_identitylist: communication with agent failed
ssh-agent in OpenSSH For Windows 8.1 is incompatible with OpenSSH (proper) 8.9.
Try installing the latest OpenSSH For Windows https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH-Using-MSI
Thanks, this seems to have resolved the issue.
"OpenSSH for Windows" version 8.1.0.1
Server OperatingSystem Ubuntu 22.04 LTS
Client OperatingSystem Windows 10 Pro
What is failing I'm trying to connect via SSH to a remote server using a
ProxyJump
in between, then pull/push some git repository changes to/from the remote host, using the SSH agent from my local PC (I don't have any SSH keys or a running SSH agent on the remote server)..ssh/config
:Doing this in Powershell results in a Permission denied error. However, doing the same thing in a WSL shell (running Ubuntu) with its own SSH implementation works without issues.
I've also tried the same from my home PC, also running Windows 10 Pro and also get the same issue (working in WSL but not in Powershell).
Additionally, if I try a different remote with the same
ProxyJump
, it still fails in Powershell, however if I connect toJumpHost
itself (i.e. without using aProxyJump
directive), this setup works fine in both Powershell and WSL and I can use git as expected.Expected output This is what I get in a WSL shell:
Actual output This is what I get with the same commands in Powershell.
Additional log from
ssh -vvv
from remote (instead ofgit pull
):