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.

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

1 Answer 1

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

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.