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

Function buildSSHArgs

internal/ssh/client.go:343–345  ·  view source on GitHub ↗
(user, host string, jumphost config.SSHJumpHost)

Source from the content-addressed store, hash-verified

341}
342
343func buildSSHArgs(user, host string, jumphost config.SSHJumpHost) []string {
344 return buildSSHArgsBase(user, host, jumphost)
345}
346
347// BuildSSHArgs constructs the argument list for the ssh binary to connect to
348// host as user, optionally via jumphost. Exported for use by CLI subcommands

Callers 2

ExecuteNodeShellWithFunction · 0.85
ExecuteQemuShellWithFunction · 0.85

Calls 1

buildSSHArgsBaseFunction · 0.85

Tested by

no test coverage detected