qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4] block: Add support for Secure Shell (ssh) bl


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] [PATCH v4] block: Add support for Secure Shell (ssh) block device.
Date: Thu, 28 Mar 2013 11:16:58 +0000
User-agent: Mutt/1.5.20 (2009-12-10)

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

[Prev in Thread] Current Thread [Next in Thread]