On Thu, Mar 28, 2013 at 11:47:32AM +0100, Stefan Hajnoczi wrote:
> ssh(1) prompts the user to accept the hostkey.  When QEMU fails like
> this the user needs to run ssh(1) first to populate known_hosts?

Yes - I tested this and qemu will simply fail to open the disk with
the error message about the host key not being found.  Currently you
have to manually log in (eg. with ssh), accept the key in ssh, and
then retry the qemu command.

Not that I think this is much of a problem, as long as the error is
clear.

But ... if I wanted to make qemu interactively ask about host keys, or
even accept passwords, how would I do that?  Is there a block device
driver that asks for passwords that I can look at?

[The only mention of 'password' is in the iscsi driver, and that seems
to be related to passing passwords in the URL (!?!)]

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW

Reply via email to