That's normal.  Just like when you run ssh by hand: new hosts will get
added to your ~/.ssh/known_hosts and you'll get that message.  But you'll
only get that one message per host, instead hundreds of warning messages
with /dev/null.

-Jongki

On Wed, Nov 9, 2011 at 6:24 PM, Wenyi Gao <[email protected]> wrote:

>
> I tried using tempfile.mkstemp to create temporary file and pass  the pass
> to  UserKnownHostsFile,  this also print the below message:
> [stderr] Warning: Permanently added 'locathost' (RSA) to the list of known
> hosts
>
> so it doesn't work. But why don't we add an option -q to ssh? That won't
> print all the messages.
>
>
> Wenyi Gao
>
>
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to