Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghnp5 opened this issue Dec 12, 2023 · 1 comment
Open

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

ghnp5 opened this issue Dec 12, 2023 · 1 comment

Comments

@ghnp5
Copy link

ghnp5 commented Dec 12, 2023

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!

@ndbeals
Copy link
Owner

ndbeals commented Dec 27, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants