sshserver

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartSSHServer

func StartSSHServer(ctx context.Context, algorithm HostKeyAlgo) (port int, pubKey ssh.PublicKey, err error)

Types

type HostKeyAlgo

type HostKeyAlgo int
const (
	RSAHostKey     HostKeyAlgo = 1
	ECDSAHostKey   HostKeyAlgo = 3
	Ed25519HostKey HostKeyAlgo = 4
	Ed448HostKey   HostKeyAlgo = 6
)

Jump to

Keyboard shortcuts

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