Documentation
¶
Index ¶
Constants ¶
View Source
const PLUGIN = `` /* 3289-byte string literal not displayed */
PLUGIN The default bash kubectl plugin authenticating with this server
Variables ¶
This section is empty.
Functions ¶
func GenSSHServerConfig ¶
func GenSSHServerConfig(privateBytes []byte) *ssh.ServerConfig
GenSSHServerConfig generates the ssh server config from a private key
Types ¶
type Config ¶
type Config struct {
Port string
ServerConfig *ssh.ServerConfig
Listener sshnet.Listener
ProxyCA string
}
Config sshserver config
type Metrics ¶
type Metrics struct {
Accept prometheus.Counter
LoginSuccess prometheus.Counter
LoginFail prometheus.Counter
}
The Metrics that the module produces
Click to show internal directories.
Click to hide internal directories.