For people that are tired of manually looking up DOM ID, executing socat and establishing their SSH tunnel.
- Edit
connect_vm.shto add the IP address of your XCP-ng host. - Ensure
socatis installed on the host. If it isn't, useyum install socat - For best results, set up keys for SSH root login to our XCP-ng host.
- Place the script
forward_console.shon the XCP-ng host, in/root. - Place the script
connect_vm.shlocally on the computer you will VNC from. - Optionally, you may edit
connect_vm.shto launch your preferred VNC viewer.