cuviper / ssh-pageant

An SSH authentication agent for Cygwin/MSYS to PuTTY's Pageant.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a --reuse option to test existing paths

cuviper opened this issue · comments

I have an idea for an option something like "--reuse", which will try to preserve some existing socket path given by "-a". The idea is to just try to connect() to that path, and if that works assume all is well, just report that path and quit. If connect fails, remove the existing path and create it anew. (But as a safety check, don't remove it if it's not a socket type.)