I would probably make the default PuTTY profile try to attempt to use Pageant authentication by default (if memory serves, something like Connection -> SSH -> "Attempt authentication using Pageant" checked; after updating the setting, save as the name "Default Settings"), and launch a single Pageant instance with the appropriate key(s) loaded. I would then expect your Test1.pl script to behave as you intend.
Hope that helps.
In reply to Re: How to wait for putty to finish before proceeding.
by atcroft
in thread How to wait for putty to finish before proceeding.
by SwaJime
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |