Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunServers ¶
RunServers starts listening for connections, and handles interrupts/signals. When it returns the servers are dead.
Types ¶
type Health ¶
type Health struct {
Version string
}
Health is the basis of a simple health-check service
type PublicKeyAuth ¶
type PublicKeyAuth struct {
// contains filtered or unexported fields
}
PublicKeyAuth checks an incoming connection against a list of allowed keys It provides a `PublicKeyHandler` method which is compatible with `ssh.PublicKeyHandler`
func NewPublicKeyAuthFromFiles ¶
func NewPublicKeyAuthFromFiles(ctx context.Context, paths []string) PublicKeyAuth
NewPublicKeyAuthFromFiles loads public keys from a list of paths
func (PublicKeyAuth) PublicKeyHandler ¶
PublicKeyHandler decides if we allow access based on comparing public keys
Click to show internal directories.
Click to hide internal directories.