Avoiding Putty Cache Question



Hi All,

I'm trying to use Putty on Windows via automated script to transfer files to a linux box. This works fine, except that the first time I try this, I get the question that asks if I want to cache the remote server's public key. If I run Putty manually and agree to cache the file, then I can run the script in an automated way and it works fine. But if the public key hasn't been cached before the script runs, then the script fails.

So the question is: how can I tell Putty to run a script, and in the event that it the key hasn't been cached, to do so?

Any help much appreciated. TIA.

Josh
*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***
.



Relevant Pages

  • Re: Launch script on Linux using Putty
    ... I would like this scipt to run on a remote linux Os using ... when I close Putty command line window running ... The easiest is to run nohup on your script in the background: ...
    (comp.lang.python)
  • Re: Launch script on Linux using Putty
    ... I would like this scipt to run on a remote linux Os using ... when I close Putty command line window running ... The "fork daemon" script found onhttp://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/278731 ...
    (comp.lang.python)
  • Re: Running script after logging out of SSH
    ... What I'm wondering is how I would execute a script after I have ... My normal way of working is to use Putty on my ... Windows XP machine to SSH in to my Linux box. ... When I click "exit" from ...
    (comp.unix.shell)
  • Re: Launch script on Linux using Putty
    ... when I close Putty command line window running ... cron process, but it's not practical. ... seems to be as huge as my own script and little bit hard to undestand. ...
    (comp.lang.python)
  • Re: Any hope for recovering from "chmod -r 777 /*"
    ... the putty window disappears immediately. ... It looks like I was able to login using putty and also SSH from another system. ... If the pkgchk is the best alternative, should I run it with the "-f" or with the "-xf"? ... The first hit is a reference to a Jumpstart security script called fix-modes. ...
    (comp.unix.solaris)