sshd

package
v0.0.0-...-cb38792 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(port string, opts ...Config)

Listen ssh sessions on the port

func New

func New(opts ...Config) *server

func ViaProxy

func ViaProxy(host string, opts ...Config)

ViaProxy listen ssh session using tcp relay-proxy

Types

type Config

type Config func(*server)

func Credentials

func Credentials(access, secret string) Config

func PrivateKey

func PrivateKey(bits int) Config

func PrivateKeyFile

func PrivateKeyFile(idfile string) Config

func Shell

func Shell(shell string) Config

Jump to

Keyboard shortcuts

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