ssh

package
v1.21.11 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 25 Imported by: 64

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenKeyPair added in v1.8.0

func GenKeyPair(keyPath string) error

GenKeyPair make a pair of public and private keys for SSH access. Public key is encoded in the format for inclusion in an OpenSSH authorized_keys file. Private Key generated is PEM encoded

func Init added in v1.17.0

func Init() error

func Listen

func Listen(host string, port int, ciphers, keyExchanges, macs []string)

Listen starts a SSH server listens on given port.

Types

This section is empty.

Jump to

Keyboard shortcuts

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