Yes, it is possible. I have such setup,
Libvirt IRL: qemu+ssh://user@host/system
And the setup password-less access to your host
over your gateway
, such as in ~/.ssh/config
(might need more configuration for additional keys, but I recommend to have the keys store in your ssh-agent
):
Host c0 Hostname real-gateway-hostname User gateway-username Host h0 HostName hostname User jjelen ProxyCommand ssh -W %h:%p c0
First verify that you can connect using
ssh user@host
and then "Add Connection" to your virt-manager
, choose QEMU/KVM, remote host, method SSH, hostname and user as specified above. Then hit connect and you should be able to see your virtual machines.