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!

About SoCRaT

Software Engineer, OSS & Linux Geek
This entry was posted in Linux, Mint, Ubuntu, Virtualization and tagged , , , , , , . Bookmark the permalink.

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s