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

I'm using EC2 as a server and want to automatically run some batch files to set up , but the alert dialog just blocked my batch files, anybody know how to disable the alert dialog?

the alert dialog is like this:

enter image description here

share|improve this question
up vote 0 down vote accepted

If you manually log in to those servers using Putty, click the "Yes" button on that dialog, Putty will cache the server key so those dialogs will not pop up on subsequent connections (unless you reinstall ssh on the server or change the server's key)

You can use plink, a command-line version of Putty, that should not pop-up these dialogs (or use openssh) I haven't used plink.

share|improve this answer
I tried the plink and it works. really cool. thanks a lot. – Rico Shen Jul 25 '12 at 10:08

You must log in to answer this question.

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