From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULApP-0000bA-HH for qemu-devel@nongnu.org; Thu, 28 Mar 2013 07:17:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULApK-0006fJ-Kh for qemu-devel@nongnu.org; Thu, 28 Mar 2013 07:17:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULApK-0006fF-Ci for qemu-devel@nongnu.org; Thu, 28 Mar 2013 07:17:02 -0400 Date: Thu, 28 Mar 2013 11:16:58 +0000 From: "Richard W.M. Jones" Message-ID: <20130328111657.GA1461@rhmail.home.annexia.org> References: <1364399849-5518-1-git-send-email-rjones@redhat.com> <1364399849-5518-2-git-send-email-rjones@redhat.com> <20130328104732.GA15114@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130328104732.GA15114@stefanha-thinkpad.redhat.com> Subject: Re: [Qemu-devel] [PATCH v4] block: Add support for Secure Shell (ssh) block device. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org 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