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

Why use pageant then? If you need the key file, why not use the "-i" option of plink.exe? For that matter, why not use plink.exe instead of PuTTY as it does a better job (at least for me) when used in scripts (i.e., not opening a new window)?

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

Replies are listed 'Best First'.
Re^2: How to wait for putty to finish before proceeding.
by SwaJime (Scribe) on Feb 11, 2016 at 17:52 UTC
    Thanks VinsWorldcom for responding. I'm using pageant because I have multiple possible login keys and I don't want the user prompted for a password. I tried using plink.exe and it does not have sufficient terminal support for the programs that I am running. PuTTY works nicely. I just need to be able to support multiple keys.