Everytime I start Windows I have to do this tedious work:
1) Start Pageant.exe
2) Add a key to pageant (locate file, choose it, key in password. Enter)
3) Start Putty.exe
4) Select, Load and open the session needed.
Puh!!
Just wonder if someone has bothered to find a way to automate this, but haven't been able to locate a solution. Most threads are 2-3-4 years old, so seemingly no-one is any longer logging in to their servers using SSH!?
I use ssh regularly, occasionally for an interactive session but more commonly for pushing and pulling from Mercurial repositories.
I have "pageant" set up as a doskey macro which launches pageant with the key file name as an argument. Then I have "putty" which is also a doskey macro to run PuTTYPortable.exe. I have PuTTY running even when I'm just using pageant for hg because otherwise it wants you to add the fingerprint of the remote machine every time, but PuTTY Portable backs up and saves that part of the registry.
You could also do it with a batch file in the PATH to run both at once:
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
the pageant.exe command takes a -c parameter of the command to run after startup
should load pageant, install the key, prompt for its passphrase, and then run putty.
Second run of the same command will make pageant reload the key, which it will skip as it is loaded already, and just fire up a new putty session.
http://www.9bis.net/kitty/?page=Welcome&zone=en
Try Kitty : it's afork of Putty that answers a lot of requests people have made over the years.
Designed to be easily portable.
Yeah, @rangaroo, Kitty suffers from the same problem -- the kageant isn't even distributed with the portable version (as of 0.65 of putty); further, the kitty team doesn't publish the crypto hashes anywhere, so who knows what software we're actually getting (unless I want to bother with compiling).