From 393d3a97d6c74235dac2b4b667c1504af4990d5f Mon Sep 17 00:00:00 2001 From: Adam Herst Date: Sun, 9 May 2021 14:07:56 -0400 Subject: [PATCH] virsh-connect: add page (#5894) --- pages/common/virsh-connect.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/common/virsh-connect.md diff --git a/pages/common/virsh-connect.md b/pages/common/virsh-connect.md new file mode 100644 index 0000000000..5232e84d55 --- /dev/null +++ b/pages/common/virsh-connect.md @@ -0,0 +1,21 @@ +# virsh-connect + +> Connect to a virtual machine hypervisor. +> See also: `virsh`. +> More information: . + +- Connect to the default hypervisor: + +`virsh connect` + +- Connect as root to the local QEMU/KVM hypervisor: + +`virsh connect qemu:///system` + +- Launch a new instance of the hypervisor and connect to it as the local user: + +`virsh connect qemu:///session` + +- Connect as root to a remote hypervisor using ssh: + +`virsh connect qemu+ssh://{{user_name@host_name}}/system`