How to access a KVM VM via SSH over the host?

dan

New Member
Jan 16, 2009
21
0
1
Hi,

I'm running Ubuntu in an KVM VM. I can access the internet within the VM. The internal IP (over NAT) is 10.0.2.15. I have full access to the host machine. How can I access the guest?
From the host machine, I have tried to ping the VM on its IP address (10.0.2.15) but got an timeout.

It must me simple but I could not find anything in the wiki or the forums.

EDIT:
I have also tried to use vnc:
nc -l -p 5900 -c "qm vncproxy 102 <password>"
But getting this error as soon as a VNC client tries to connect:
400 too many arguments
qm vncproxy <vmid>

Thanks for any help.

(I'm using Proxmox 2.0 beta)
 
Last edited:
I just moved your thread in the right forum.
 
Like this

ip route add your.ip dev vmbr0(in my case the bridge interface is vmbr0)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!