[virt-tools-list] [virt-viewer] man: Mention that ssh-agent can be useful

Christophe Fergeau cfergeau at redhat.com
Thu Dec 1 16:32:19 UTC 2016


When using a tunneled SPICE connection, the user will get a dozen
authentication prompts if they are not using ssh-agent.
---
 man/virt-viewer.pod | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/man/virt-viewer.pod b/man/virt-viewer.pod
index bd953ed..ad3e298 100644
--- a/man/virt-viewer.pod
+++ b/man/virt-viewer.pod
@@ -179,6 +179,15 @@ To connect to a remote console using TLS
    virt-viewer --connect xen://example.org/ demo
 
 To connect to a remote host using SSH, lookup the guest config and
+then make a tunnelled connection of the console
+
+   virt-viewer --connect qemu+ssh://root@example.org/ demo
+
+When using a SSH tunnel to connect to a SPICE console, it's recommended to
+have ssh-agent running to avoid getting multiple authentication prompts.
+
+
+To connect to a remote host using SSH, lookup the guest config and
 then make a direct non-tunnelled connection of the console
 
    virt-viewer --direct --connect xen+ssh://root@example.org/ demo
-- 
2.9.3




More information about the virt-tools-list mailing list