Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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: code.google.com/p/mintty/wiki/PuttyIssues –  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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.