Documentation ¶
Overview ¶
Package ssh is used to handle SSH connections and forwarding.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { *ssh.ServerConfig // contains filtered or unexported fields }
Server using SSH with tcp forwarding.
func NewServer ¶
func NewServer( listenAddress string, config *ssh.ServerConfig, jwt jwt.Service, routes route.Repository, domain string, anonymous bool, ) *Server
NewServer instanciates a new ssh server with tcp forwarding.
func (*Server) ForwardHTTP ¶
ForwardHTTP is a middleware that forwards HTTP request based on the subdomain to a corresponding SSH client.
Click to show internal directories.
Click to hide internal directories.