1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/virsh-connect.md

22 lines
494 B
Markdown
Raw Normal View History

2021-05-09 14:07:56 -04:00
# virsh-connect
> Connect to a virtual machine hypervisor.
> See also: `virsh`.
> More information: <https://manned.org/virsh>.
- 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`