Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
KeepAliveMsg = "keepalive@openssh.com"
)
View Source
var WireSet = wire.NewSet( ProvideServer, )
Functions ¶
func GenerateKeyPair ¶
GenerateKeyPair make a pair of public and private keys for SSH access.
Types ¶
type Server ¶
type Server struct {
Host string
Port int
DefaultUser string
TrustedUserCAKeys []string
TrustedUserCAKeysParsed []gossh.PublicKey
Ciphers []string
KeyExchanges []string
MACs []string
HostKeys []string
KeepAliveInterval time.Duration
ServerHostKeysDir string
Verifier publickey.Service
RepoCtrl *repo.Controller
// contains filtered or unexported fields
}
func ProvideServer ¶
func (*Server) ListenAndServe ¶
Click to show internal directories.
Click to hide internal directories.