sshd

package
v0.11.6 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateEd25519PrivateKey

func GenerateEd25519PrivateKey() (string, error)

func ListenAndServe

func ListenAndServe(port int, privateKeyPEM string)

func SetShell

func SetShell(shell string)

func SftpHandler

func SftpHandler(sess ssh.Session)

SftpHandler handler for SFTP subsystem

func UpdateAuthorizedKeys

func UpdateAuthorizedKeys(key string, githubUsername string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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