[PATCH] docs: Add 'known_hosts_verify' parameter for libssh(2) connection uris

Jakob Meng jakobmeng at web.de
Fri Jan 29 12:55:06 UTC 2021


Parameter 'known_hosts_verify' is supported for some time now,
but it is not yet documented.

Ref.:
https://gitlab.com/libvirt/libvirt/-/blob/master/src/rpc/virnetsocket.c#L941
https://gitlab.com/libvirt/libvirt/-/blob/master/src/rpc/virnetsocket.c#L1073
---
 docs/uri.html.in | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/docs/uri.html.in b/docs/uri.html.in
index f96c2970a5..61917e77b4 100644
--- a/docs/uri.html.in
+++ b/docs/uri.html.in
@@ -421,6 +421,23 @@ Note that parameter values must be
         <td colspan="2"/>
         <td> Example: <code>known_hosts=/root/.ssh/known_hosts</code> </td>
       </tr>
+      <tr>
+        <td>
+          <code>known_hosts_verify</code>
+        </td>
+        <td> libssh2, libssh </td>
+        <td>
+            If set to <code>normal</code> (default), then the user will be
+            asked to accept new host keys. If set to <code>auto</code>, new
+            host keys will be auto-accepted, but existing host keys will
+            still be validated. If set to <code>ignore</code>, this disables
+            client's strict host key checking.
+        </td>
+      </tr>
+      <tr>
+        <td colspan="2"/>
+        <td> Example: <code>known_hosts_verify=ignore</code> </td>
+      </tr>
       <tr>
         <td>
           <code>sshauth</code>
--
2.20.1





More information about the libvir-list mailing list