You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into a bug in the SSH client (having to do with Ctrl+Space) that is fixed in the beta. I removed the OpenSSH "optional features" in the control panel, which (as I expected) also removed the SSH Agent.
This installs the OpenSSH Server service, but doesn't install the Agent service. There is still an ssh-agent.exe that's in the right directory (C:\Program Files\OpenSSH), but no windows service gets installed. I looked through OpenSSHUtils.psm1 to try to find if there's something there. How do I add the agent service in the beta? I'm reporting this as a bug primarily because it's nowhere in the documentation (that I can find), and also perhaps there's something amiss with the MSI builder where it fails to do the service installer step for the agent (although it does install the server component).
It's very confusing that the development (and hopefully issues) happen here but the Wiki and releases are at https://github.com/powershell/Win32-OpenSSH -- that one has 270+ open issues. Should I be filing issues here?
Expected behavior
The agent service should be installed, just like the server service. Or at least there should be some documentation about how to do this.
Actual behavior
No agent service is installed in the beta.
Error details
No response
Environment data
Name Value
---------
PSVersion 7.2.7
PSEdition Core
GitCommitId 7.2.7
OS Microsoft Windows 10.0.22621
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Version
OpenSSH_for_Windows_8.9p1, LibreSSL 3.4.3
Visuals
No response
The text was updated successfully, but these errors were encountered:
Yes, sorry it's confusing. Win32-OpenSSH is a legacy repo where we maintain issues/releases, although the active development is here in OpenSSH-Portable.
I'm not able to repro the ssh-agent service not being created via MSI install.
As a workaround, you can use the PowerShell cmdlet New-Service: New-Service ssh-agent
when prompted, provide the path to ssh-agent.exe: C:\Program Files\OpenSSH\ssh-agent.exe
Prerequisites
Steps to reproduce
First I followed the directions here on Windows 11 and got the SSH client working: https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse?tabs=gui -- that package contains an SSH-Agent Windows service:
I ran into a bug in the SSH client (having to do with
Ctrl+Space
) that is fixed in the beta. I removed the OpenSSH "optional features" in the control panel, which (as I expected) also removed the SSH Agent.Then, I installed the beta using the MSI as per these instructions: https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH-Using-MSI#1-run-msi-installer
This installs the OpenSSH Server service, but doesn't install the Agent service. There is still an ssh-agent.exe that's in the right directory (
C:\Program Files\OpenSSH
), but no windows service gets installed. I looked through OpenSSHUtils.psm1 to try to find if there's something there. How do I add the agent service in the beta? I'm reporting this as a bug primarily because it's nowhere in the documentation (that I can find), and also perhaps there's something amiss with the MSI builder where it fails to do the service installer step for the agent (although it does install the server component).It's very confusing that the development (and hopefully issues) happen here but the Wiki and releases are at https://github.com/powershell/Win32-OpenSSH -- that one has 270+ open issues. Should I be filing issues here?
Expected behavior
The agent service should be installed, just like the server service. Or at least there should be some documentation about how to do this.
Actual behavior
No agent service is installed in the beta.
Error details
No response
Environment data
Version
OpenSSH_for_Windows_8.9p1, LibreSSL 3.4.3
Visuals
No response
The text was updated successfully, but these errors were encountered: