3

Is it possible to configure Pageant (SSH key management) so that its keys are usable by a Windows service with the "Log On As" user of "Local System"?

If not, is there any other tool that can do this?

EDIT:

I've tried setting Pageant up as a service (using runassvc.exe), passing the appropriate key, and having it run as "Local System". The other service doesn't seem to be able to see the key from the pageant service.

jlpp
  • 256
  • 5
  • 10
  • What version of Windows are you running? Going with OpenSSH might be easier in an headless environment (if you can switch from `plink` to plain old `ssh`. – ixe013 Oct 29 '21 at 18:45

1 Answers1

1

If you want to start Pageant as a service, I assume that your keyfiles do not contain a password. In that case, why not use the keyfiles directly by the second service?

The reason for using Pageant is to keep the keyfile passwords cached.

Marki555
  • 1,538
  • 1
  • 14
  • 27