Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SSHAgent ¶
func SSHAgent() (ssh.AuthMethod, error)
Types ¶
type Addr ¶
func MustResolveAddr ¶
type Listener ¶
type Listener struct {
Handler ListenerHandler
Connections int32
// contains filtered or unexported fields
}
func NewListener ¶
type ListenerHandler ¶
type Passage ¶
type Passage struct {
// contains filtered or unexported fields
}
func NewPassage ¶
func NewPassage(c SSHConnection, r Remote) *Passage
type Remote ¶
func NewContainerRemote ¶
type SSHConnection ¶
type SSHConnection interface {
Tunnel(c net.Conn, a net.Addr) error
Conn(a net.Addr) (net.Conn, error)
Config() *ssh.ClientConfig
fmt.Stringer
}
func NewSSHConnection ¶
func NewSSHConnection(a net.Addr, c *ssh.ClientConfig, retries int) SSHConnection
Click to show internal directories.
Click to hide internal directories.