On 2011年11月10日 10:49, Jongki Suwandi wrote:
On Wed, Nov 9, 2011 at 6:44 PM, Wenyi Gao <[email protected] <mailto:[email protected]>> wrote:On 2011年11月10日 10:28, Jongki Suwandi wrote: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] <mailto:[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 GaoOk, thanks. Are we going to replace os.tmpfile with tempfile.mkstemp so that it can run ubuntu 11.10 without error. I'll let you do it. :)
Thank you, I will submit the PATCH V2 later.
_______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
