Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So we know that you can provide the hostkeys for putty via the registry, but this is annoying and painful if you are trying to automate things. WinSCP allows you to do this via the -hostkey switch, but I need a full terminal client with the same functionality.

Any suggestions?

share|improve this question
So kitty has the -convert-dir switch, which can read the hostkeys from a folder – mwjackson Jul 29 '11 at 13:53
And bitvise tunnelier has a -hostKeysFile param, which can take a file, but both of these are less than ideal – mwjackson Jul 29 '11 at 13:54

What about ssh under Cygwin? (See the VERIFYING HOST KEYS section of the SSH manual. The default Cygwin shell looks a bit rubbish but check out mintty - integrates really well into the Windows GUI.

share|improve this answer
In fact the mintty site says it's based on the non-networking parts of PuTTY's code and improves on PuTTY issues: – Andrew Moss Jul 29 '11 at 14:21
I started using it instead of PuTTY because changing tabs in Vim using the Ctrl + PgUp/PgDown shortcut doesn't work in PuTTY (as mentioned on that link). – Andrew Moss Jul 29 '11 at 14:23
Still, thats using known_hosts in the .ssh folder. Bear in mind I'm tyring to automate this proces, so any extra steps (writing out to a config file etc) are extra steps that I would prefer not to perform if I can just pass it into the app via a command line switch – mwjackson Jul 29 '11 at 14:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .