From 239c5d7138b181c1fd42edf1bea4ea12eb8363b7 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Fri, 24 Aug 2012 15:44:46 +0200 Subject: [PATCH] libssh2_transport: Add docs to remote.html Describe the existence of the transport driver and document the configurable options. --- docs/remote.html.in | 52 ++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 47 insertions(+), 5 deletions(-) diff --git a/docs/remote.html.in b/docs/remote.html.in index e6af4c2205..40696b935d 100644 --- a/docs/remote.html.in +++ b/docs/remote.html.in @@ -136,8 +136,14 @@ Remote libvirt supports a range of transports:
Unencrypted TCP/IP socket. Not recommended for production use, this is normally disabled, but an administrator can enable it for testing or use over a trusted network. - The standard port is 16509. -
+ The standard port is 16509. +
libssh2
+
Transport over the SSH protocol using + libssh2 instead +of the OpenSSH binary. This transport uses the libvirt authentication callback for +all ssh authentication calls and therefore supports keyboard-interactive authentication +even with graphical management applications. As with the classic ssh transport +netcat is required on the remote side.

The default transport, if no other is specified, is tls. @@ -182,6 +188,9 @@ Connect to a libvirtd daemon offering unencrypted TCP/IP connections on localhost port 5000 and use the test driver with default settings. +

  • qemu+libssh2://user@host/system?known_hosts=/home/user/.ssh/known_hosts
    — +Connect to a remote host using a ssh connection with the libssh2 driver +and use a different known_hosts file.
  • Extra parameters @@ -237,7 +246,7 @@ Note that parameter values must be socket - unix, ssh + unix, ssh, libssh2 The path to the Unix domain socket, which overrides the compiled-in default. For ssh transport, this is passed to @@ -252,7 +261,7 @@ Note that parameter values must be netcat - ssh + ssh, libssh2 The name of the netcat command on the remote machine. The default is nc. For ssh transport, libvirt @@ -277,7 +286,7 @@ Note that parameter values must be keyfile - ssh + ssh, libssh2 The name of the private key file to use to authentication to the remote machine. If this option is not used the default keys are used. @@ -341,6 +350,39 @@ Note that parameter values must be Example: pkipath=/tmp/pki/client + + + known_hosts + + libssh2 + + Path to the known_hosts file to verify the host key agains. LibSSH2 + supports OpenSSH-style known_hosts files, although it does not support + all key types, so using files created by the OpenSSH binary may result + into truncating the known_hosts file. It's recommended to use the default + known_hosts file is located in libvirt's client local configuration + directory e.g.: ~/.config/libvirt/known_hosts. Note: Use absolute paths. + + + + + Example: known_hosts=/root/.ssh/known_hosts + + + + sshauth + + libssh2 + + A comma separated list of authentication methods to use. Default (is + "agent,privkey,keyboard-interactive". The order of the methods is perserved. + Some methods may require additional parameters. + + + + + Example: sshauth=privkey,agent +

    Generating TLS certificates -- 2.39.5