Found it (RTFM)! Just add: -o "StrictHostKeyChecking no" to the command line. Bill On Mon, 25 Feb 2002, Bill Mills-Curran wrote:
Date: Mon, 25 Feb 2002 13:10:52 -0500 (EST) From: Bill Mills-Curran <subssn594@charter.net> To: Worcester Linux Users Group <wlug@mail.wlug.org> Subject: ssh/virtual terminal "challenge"
I have a situation where I'd like to run ssh from a script to connect to a different machine. In some cases, the machine's IP will have changed, due to DHCP. Is there a way I can either:
1. make ssh accept the new site without supplying the "yes" from the keyboard.
or
2. Somehow set up a controlling terminal or virtual terminal to provide the "yes" that ssh requires?
I have not been able to get something like "openvt" to work. I have no experience with these things.
TIA, Bill