MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / ShellNode

Function ShellNode

internal/commands/commands.go:54–60  ·  view source on GitHub ↗

ShellNode opens an SSH shell to the given node.

(sshClient *ssh.SSHClient)

Source from the content-addressed store, hash-verified

52
53// ShellNode opens an SSH shell to the given node.
54func ShellNode(sshClient *ssh.SSHClient) error {
55 if sshClient == nil {
56 return fmt.Errorf("nil ssh client")
57 }
58
59 return sshClient.Shell()
60}

Callers

nothing calls this directly

Calls 1

ShellMethod · 0.80

Tested by

no test coverage detected