in reply to How to wait for putty to finish before proceeding.

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.

  • Comment on Re: How to wait for putty to finish before proceeding.