[GH-ISSUE #168] Remote console access #91

Closed
opened 2026-02-27 15:46:22 +03:00 by kerem · 1 comment
Owner

Originally created by @parham-afkar on GitHub (Aug 9, 2024).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/168

How can I connect to the console using proxmoxer? I need remote console access.

Originally created by @parham-afkar on GitHub (Aug 9, 2024). Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/168 How can I connect to the console using proxmoxer? I need remote console access.
kerem 2026-02-27 15:46:22 +03:00
Author
Owner

@jhollowe commented on GitHub (Aug 9, 2024):

If you are needing console access, I would probably just use the webUI.

If you want to roll your own version of it, if looks like the webUI uses nodes/{node}/qemu/{vmid}/vncproxy to get the needed info to create the VNC connection.
If you have the qemu agent installed on your VM guest, you can also use nodes/{node}/qemu/{vmid}/agent/exec to execute commands within your VM.
And of course you could just make SSH available in your guest and expose that publicly so you can SSH into it from wherever you need.

If you have a more specific usecase, I can try to help, but I think you would probably get more helpful answers from the proxmox forums.

<!-- gh-comment-id:2278740839 --> @jhollowe commented on GitHub (Aug 9, 2024): If you are needing console access, I would probably just use the webUI. If you want to roll your own version of it, if looks like the webUI uses [nodes/{node}/qemu/{vmid}/vncproxy](https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/qemu/{vmid}/vncproxy) to get the needed info to create the VNC connection. If you have the qemu agent installed on your VM guest, you can also use [nodes/{node}/qemu/{vmid}/agent/exec](https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/qemu/{vmid}/agent/exec) to execute commands within your VM. And of course you could just make SSH available in your guest and expose that publicly so you can SSH into it from wherever you need. If you have a more specific usecase, I can try to help, but I think you would probably get more helpful answers from the proxmox forums.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmoxer#91
No description provided.