Help us shape the future of Go! Take the 2026 Go Developer Survey

ssh

package
v3.1.61 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: MIT, MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenKeyPair

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

func Init() error

func Listen

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

Listen starts an SSH server listening on given port.

Types

This section is empty.

Source Files

  • init.go
  • ssh.go
  • ssh_graceful.go

Jump to

Keyboard shortcuts

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