I use this fork of Krypton to get a Windows build; it's been fine as provided until now.
After updating to OpenSSH 8.9.1 (which I think actually came through with the latest Windows 11 Insider build) krssh was no longer working for me. After rolling Windows back and installing from the MSI and running some tests, I've concluded that the problem is that with the IdentityAgent set the way Krypton configures it:
IdentityAgent \\.\pipe\krd-agent
in 8.9.1 there is an error which didn't occur in 8.6; details below.
Either changing all the backslashes in that config line to forward slashes, or leaving that line out and setting $env:SSH_AUTH_SOCK to that value instead (with any combination of slashes I tried), seems to fix the problem.
I'm not sure whether that means there is some kind of new bug in parsing/handling that setting or if it should have required forward slashes all along and the handling has actually been fixed. In case it's the former, and in case it might help anyone else, I thought I should report it even though I seem to have found a fix/workaround.
"OpenSSH for Windows" version
8.9.1.0
Server OperatingSystem
Any
Client OperatingSystem
Windows 11 Insider
What is failing
krd-agent
Expected output
(from ssh -v in OpenSSH 8.6)
debug1: Will attempt key: RSA SHA256: agent
Actual output
(from ssh -vvv in OpenSSH 8.9.1)
debug3: unable to connect to pipe \.\pipe\krd-agent, error: 3
debug1: get_agent_identities: ssh_get_authentication_socket: The socket is not connected
Note: ssh -vv or ssh -v results in the following instead
debug1: get_agent_identities: ssh_get_authentication_socket: No such file or directory
./.ssh/config excerpt
Host *
IdentityAgent \\.\pipe\krd-agent
ProxyCommand path\to\krssh.exe %h %p
Fixed with:
Host *
IdentityAgent //./pipe/krd-agent
ProxyCommand path\to\krssh.exe %h %p
I use this fork of Krypton to get a Windows build; it's been fine as provided until now.
After updating to OpenSSH 8.9.1 (which I think actually came through with the latest Windows 11 Insider build) krssh was no longer working for me. After rolling Windows back and installing from the MSI and running some tests, I've concluded that the problem is that with the IdentityAgent set the way Krypton configures it:
IdentityAgent \\.\pipe\krd-agentin 8.9.1 there is an error which didn't occur in 8.6; details below.
Either changing all the backslashes in that config line to forward slashes, or leaving that line out and setting $env:SSH_AUTH_SOCK to that value instead (with any combination of slashes I tried), seems to fix the problem.
I'm not sure whether that means there is some kind of new bug in parsing/handling that setting or if it should have required forward slashes all along and the handling has actually been fixed. In case it's the former, and in case it might help anyone else, I thought I should report it even though I seem to have found a fix/workaround.
"OpenSSH for Windows" version
8.9.1.0
Server OperatingSystem
Any
Client OperatingSystem
Windows 11 Insider
What is failing
krd-agent
Expected output
(from
ssh -vin OpenSSH 8.6)Actual output
(from
ssh -vvvin OpenSSH 8.9.1)Note:
ssh -vvorssh -vresults in the following instead./.ssh/config excerpt
Fixed with: