I have a VM that has serial console setup and working, Xtermjs is working just fine. If I wanted to embed a link in my own webpage that people could click on and connect to that serial console is this possible? I am just starting to investigate this and my ProxMox experience is limited.
Could I have a URL like the one below and just pass an API token in the header when clicked or is a cookie required for the below link to work? The goal is to pass an api key/credentials when the user clicks the below link. I do not want/need them logging in to the ProxMox web gui.
https://myproxmoxserver:8006/?console=kvm&xtermjs=1&vmid=150&vmname=myvmname&node=mynodename&cmd=
header = {"Authorization": "API TOKEN"}
Thanks,
Matt
Could I have a URL like the one below and just pass an API token in the header when clicked or is a cookie required for the below link to work? The goal is to pass an api key/credentials when the user clicks the below link. I do not want/need them logging in to the ProxMox web gui.
https://myproxmoxserver:8006/?console=kvm&xtermjs=1&vmid=150&vmname=myvmname&node=mynodename&cmd=
header = {"Authorization": "API TOKEN"}
Thanks,
Matt
Last edited: