ExecuteNodeShell opens an interactive SSH session to a Proxmox node. This is a convenience function that uses the default executor and context. For more control over execution, use ExecuteNodeShellWith. Parameters: - user: SSH username for authentication - nodeIP: IP address or hostname of the tar
(user, nodeIP string, jumphost config.SSHJumpHost)
| 105 | // |
| 106 | // Returns an error if the SSH connection fails. |
| 107 | func ExecuteNodeShell(user, nodeIP string, jumphost config.SSHJumpHost) error { |
| 108 | return ExecuteNodeShellWith(context.Background(), NewDefaultExecutor(), user, nodeIP, jumphost) |
| 109 | } |
| 110 | |
| 111 | // ExecuteNodeShellWith opens an interactive SSH session to a Proxmox node with custom execution context. |
| 112 | // |
no test coverage detected