MCPcopy
hub / github.com/henrygd/beszel / SSHTransport

Struct SSHTransport

internal/hub/transport/ssh.go:19–26  ·  view source on GitHub ↗

SSHTransport implements Transport over SSH connections.

Source from the content-addressed store, hash-verified

17
18// SSHTransport implements Transport over SSH connections.
19type SSHTransport struct {
20 client *ssh.Client
21 config *ssh.ClientConfig
22 host string
23 port string
24 agentVersion semver.Version
25 timeout time.Duration
26}
27
28// SSHTransportConfig holds configuration for creating an SSH transport.
29type SSHTransportConfig struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected