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: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v4] block: Add support for Secure Shell (ssh) block device.
Date: Mon, 8 Apr 2013 22:21:44 +0200

On Mon, Apr 8, 2013 at 4:58 PM, Stefan Hajnoczi <address@hidden> wrote:
> On Mon, Apr 8, 2013 at 3:05 PM, Richard W.M. Jones <address@hidden> wrote:
> From what I can see libssh2 does not support loading .ssh/config.

I was told that sshfs *does* handle .ssh/config.  Turns out that sshfs
spawns "ssh -s sftp" to get a SFTP subsystem channel.  Then it
directly implements the SFTP application protocol.

This way they don't need to link against libssh2.  They spawn ssh with
a socketpair on stdin/stdout.  They send/receive SFTP messages
directly.

The benefit is that everything works (options, host key handling, and
configuration files) like you'd expect from ssh/sftp/scp.

You may be tired of trying different alternatives, but perhaps
switching to this model is worth it.  It would solve these
integration/user friendliness issues that a libssh2 implementation
has.

Stefan



reply via email to

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