I have one windows service which will use plink.exe
for SSH connection and I found that Plink cannot find the running Pageant.
Here is the steps I have done so far.
- Install Windows service to run as particular user
- Before starting Windows service, I log in as that user and start Pageant with PuTTY generated key.
- Then I start the Windows service (but I can't manage to make it work since Plink cannot find Pageant and server reply as No supported authentication methods available.)
Note: If I run Windows service as console application with that user, everything is working fine.