batcmd.com Windows 11 Services

OpenSSH Authentication Agent - Windows 11 Service

Agent to hold private keys used for public key authentication.

This service also exists in Windows 10.

Startup Type

Windows 11 version Home Pro Education Enterprise
21H2 Disabled Disabled Disabled Disabled
22H2 Disabled Disabled Disabled Disabled
23H2 Disabled Disabled Disabled Disabled
24H2 Disabled Disabled Disabled Disabled

Default Properties

Display name:OpenSSH Authentication Agent
Service name:ssh-agent
Type:own
Path:%WinDir%\System32\OpenSSH\ssh-agent.exe
Error control:normal
Object:LocalSystem
Privileges:
  • SeAssignPrimaryTokenPrivilege
  • SeTcbPrivilege
  • SeBackupPrivilege
  • SeRestorePrivilege
  • SeImpersonatePrivilege

Default Behavior

The OpenSSH Authentication Agent service is running as LocalSystem in its own process of ssh-agent.exe. It doesn't share its process with other services. If OpenSSH Authentication Agent fails to start, the error is logged. Windows 11 startup proceeds, but a message box is displayed informing you that the ssh-agent service has failed to start.

Restore Default Startup Type for OpenSSH Authentication Agent

Automated Restore

1. Select your Windows 11 edition and release, and then click on the Download button below.

2. Save the RestoreOpenSSHAuthenticationAgentWindows11.bat file to any folder on a local drive such as SSD or a hard disk.

3. Right-click the downloaded batch file and select Properties.

4. Check the Unblock checkbox and click OK.

5. Right-click the batch file again and select Run as administrator.

6. Restart the computer to save changes.

Note. Make sure that the ssh-agent.exe file exists in the %WinDir%\System32\OpenSSH folder. If this file is missing you can try to restore it from your Windows 11 installation media.

Yea, though I walk through the valley of the shadow of death, I will fear no evil: for thou art with me; thy rod and thy staff they comfort me.