Documentation
¶
Index ¶
- func NewClientConn(logger lager.Logger, permissions *ssh.Permissions, tlsConfig *tls.Config) (ssh.Conn, <-chan ssh.NewChannel, <-chan *ssh.Request, error)
- func ProxyChannels(logger lager.Logger, conn ssh.Conn, channels <-chan ssh.NewChannel)
- func ProxyGlobalRequests(logger lager.Logger, conn ssh.Conn, reqs <-chan *ssh.Request)
- func ProxyRequests(logger lager.Logger, channelType string, reqs <-chan *ssh.Request, ...)
- func Wait(logger lager.Logger, waiters ...Waiter)
- type LogMessage
- type Proxy
- type TargetConfig
- type Waiter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientConn ¶
func ProxyChannels ¶
func ProxyChannels(logger lager.Logger, conn ssh.Conn, channels <-chan ssh.NewChannel)
func ProxyGlobalRequests ¶
func ProxyRequests ¶
Types ¶
type LogMessage ¶
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func New ¶
func New( logger lager.Logger, serverConfig *ssh.ServerConfig, metronClient loggingclient.IngressClient, tlsConfig *tls.Config, ) *Proxy
func (*Proxy) HandleConnection ¶
type TargetConfig ¶
type TargetConfig struct { Address string `json:"address"` TLSAddress string `json:"tls_address"` ServerCertDomainSAN string `json:"server_cert_domain_san"` HostFingerprint string `json:"host_fingerprint"` User string `json:"user,omitempty"` Password string `json:"password,omitempty"` PrivateKey string `json:"private_key,omitempty"` }
Click to show internal directories.
Click to hide internal directories.