MCPcopy Create free account
hub / github.com/Driver-C/tryssh / NewSSHController

Function NewSSHController

pkg/control/ssh.go:85–90  ·  view source on GitHub ↗

NewSSHController creates a new SSHController for the given target IP and configuration.

(targetIP string, configuration *config.MainConfig)

Source from the content-addressed store, hash-verified

83
84// NewSSHController creates a new SSHController for the given target IP and configuration.
85func NewSSHController(targetIP string, configuration *config.MainConfig) *SSHController {
86 return &SSHController{
87 targetIP: targetIP,
88 configuration: configuration,
89 }
90}

Calls

no outgoing calls