How to connect to a VM hosted on QEMU remotely using virt-viewer

I couldn’t find comprehensive articles about this, so I decided to write one myself.

In brief, here is a sample command:

virt-viewer --connect qemu+ssh://aamr@hobba/system winVM

Where:

virt-viewer: is the command itself
–connect: is obviously the parameter telling the command to connect!
qemu+ssh: telling virt-viewer that this host is reachable via SSH and QEMU is used for virtualization (since it supports Xen as well)
aamr: is the SSH username
hobba: is the remote server name
system: is a static word, just type it as it is!
winVM: The name you gave to the Virtual Machine

Anyway, I prefer spicy over it, although it’s not recommended.

Enjoy!

 

相关文章:

  • 2021-11-26
  • 2022-01-27
  • 2022-01-31
  • 2022-12-23
  • 2021-12-19
  • 2021-04-25
  • 2021-03-31
  • 2021-08-18
猜你喜欢
  • 2021-12-31
  • 2021-12-18
  • 2022-01-06
  • 2022-02-05
  • 2021-05-05
相关资源
相似解决方案