ssh

package
v0.0.0-...-d661a11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParsePubKeyString

func ParsePubKeyString(pubKeyString string) (ssh.PublicKey, error)

func PasswordHandler

func PasswordHandler() ssh.PasswordHandler

func PublicKeyHandler

func PublicKeyHandler(publicKey ssh.PublicKey) ssh.PublicKeyHandler

Types

type RateLimiter

type RateLimiter interface {
	ConnCallback() ssh.ConnCallback
	ConnectionFailedCallback() ssh.ConnectionFailedCallback
}

RateLimiter for each ip address

func NewRateLimiter

func NewRateLimiter() RateLimiter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL