ndbeals/winssh-pageant

winssh-pageant.exe keeps crashing every few minutes/hours

Opened this issue · 1 comments

Hello,

Yesterday, I installed this, hoping to finally getting rid of managing ".ppk" files, and from using Putty (and instead just use Windows Terminal).
It seems to be working well!! Many thanks for this.

The problem is... for some reason, I need to keep restarting it, as it seems to constantly go down.
I've no idea where to see logs, to understand what is causing the crashes.

Also, I'm not sure if I can create some schedule task that runs every minute, because it seems that if I re-run winssh-pageant.exe while it's running, it will exit.

Any ideas? :)

Thank you!

Hey, thanks for the bug report. Glad you like it!

The problem is... for some reason, I need to keep restarting it, as it seems to constantly go down.
I've no idea where to see logs, to understand what is causing the crashes.

That is odd, but thankfully we can get some debug logging.

If you are comfortable running git clone ... and following a few instructions, follow the steps in this linked comment: #32 (comment)

And then come back here and copy+paste the debug output for me.

If not, you can get reduced logging by locating the currently installed winssh-pageant executable, and manually starting it from a command prompt.

Also, I'm not sure if I can create some schedule task that runs every minute, because it seems that if I re-run winssh-pageant.exe while it's running, it will exit.

That is correct, and intentional. There can only be one pageant "window" on your system at a time. (window in quotes because it's invisible, has zero size and you can't interact with it, but its still a window in the Win32 API world). If there were multiple pageant windows, it would be impossible to know which one is the correct one.