ExecuteQemuShell attempts to connect to a QEMU VM using SSH directly. This function connects directly to the VM's IP address rather than going through the Proxmox node. The VM must have network connectivity and SSH service running. This is a convenience function that uses the default executor and
(user, vmIP string, jumphost config.SSHJumpHost)
| 291 | // |
| 292 | // Returns an error if the VM IP is empty or if the SSH connection fails. |
| 293 | func ExecuteQemuShell(user, vmIP string, jumphost config.SSHJumpHost) error { |
| 294 | return ExecuteQemuShellWith(context.Background(), NewDefaultExecutor(), user, vmIP, jumphost) |
| 295 | } |
| 296 | |
| 297 | // ExecuteQemuShellWith attempts to connect to a QEMU VM using SSH with custom execution context. |
| 298 | // |
no test coverage detected