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

Till now I used Putty, but if I move to openSSH and mistakenly closing WSL CMD connection lost? #1396

Closed
ghost opened this issue Nov 20, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 20, 2016

Till now I used Putty, and I consider moving to use openSSH with WSL. Now, as You know, when you run Putty's Pageant to load your private keys, it's just running as a background task, "well hidden" in the system tray so you can't quite elusively close it by mistake.

But what if I'll use SSH-agent of OpenSSH via the WSL on CMD or Powershell? These are part of task bar, not of the system tray, as you well know, so If I mistakenly close the window the connection lost and I'll need to load all keys each time a new... Even with a script it could be a bit annoying as entering both the Unix password and the passphrase each time can take some time especially if it happened twice or more in one day.

You might have any thought on how to better prepare for such problem or just how would you prevent it ahead?

@ginto-sakata
Copy link

This will help you: https://github.com/cerebrate/wabash

@therealkenc
Copy link
Collaborator

therealkenc commented Dec 5, 2017

This one was obscured by the wording chosen in the OP. ssh-agent should run fine on WSL; if it does not please open a bug report following the template. Auto-startup of services (ssh-agent or otherwise) is covered in #709 (among others) and has improved quite a bit as of 17046.

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

No branches or pull requests

3 participants