Versions in this module Expand all Collapse all v0 v0.33.1 Apr 15, 2026 v0.33.0 Apr 4, 2026 Changes in this version + type Client interface + Close func(ctx context.Context) + Connect func(ctx context.Context) error + Name func() string + Run func(ctx context.Context, command string, arguments ...string) error + TunnelPeerPort func() int + type Config struct + ConnectTimeout time.Duration + Handler http.Handler + Host string + KnownHostsPath string + Port int + PrivateKeyPaths []string + SSHConfigPath string + Username string + func (c *Config) ValidateInternal() error + func (c *Config) ValidateOpenSSH() error + type InternalClient struct + func NewInternalClient(config Config) *InternalClient + func (s *InternalClient) Close(ctx context.Context) + func (s *InternalClient) Connect(_ context.Context) error + func (s *InternalClient) Name() string + func (s *InternalClient) Run(ctx context.Context, command string, arguments ...string) error + func (s *InternalClient) TunnelPeerPort() int + type OpenSSHClient struct + func NewOpenSSHClient(config Config) *OpenSSHClient + func (c *OpenSSHClient) Close(ctx context.Context) + func (c *OpenSSHClient) Connect(ctx context.Context) error + func (c *OpenSSHClient) Name() string + func (c *OpenSSHClient) Run(ctx context.Context, command string, arguments ...string) error + func (c *OpenSSHClient) TunnelPeerPort() int