Using Proxmox VMs remotely from command line


Active Member
Jun 7, 2010
I'm just wondering if it's possible, or practical, to start/stop a VM and opening a VM's console all from command line from remote PC.

Say, for starting a VM from remote command line, would this
ssh root@<proxmoxHost> 'qm start <vmid>'
be ok?

For starting noVNC or SPICE consoles from remote command line, is it possible? How could one do?

Thanks beforehand.
You can get the spice ticket with this command if the vm is running
pvesh create /nodes/ella/qemu/102/spiceproxy
Would it be then something like this,
ssh root@<proxmoxHost> 'pvesh create [...]'
then somehow use SPICE client on local PC on my side with the gotten ticket, *which self-destroys itself immediatelly*?
Truth to be told I'm getting a bit confused...

Also, I don't have such a directory like /nodes/[...] in the Proxmox server!
Using latest Proxmox version, BTW.
Sorry can not help. I don't do this and don't know how to do it.
My question still stands.
If you want to connect to no gui vm,
There is ssh.
To run a gui vm as in novnc or or other you need a gui on the pc you are on.
If You have a gui and can run browser just login to the proxmox host and manage vms there.
Or setup remote access on vm and use rdp or similar client.


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!