hostkey

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package hostkey keeps the SSH host key of the SFTP server. The core makes it before anyone has connected, so the panel can show its fingerprint, and the server reads it when it starts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadOrCreate

func LoadOrCreate(path string) (key ssh.Signer, created bool, err error)

LoadOrCreate reads the key at path, or makes an ed25519 key there if there is none yet. created says whether it made one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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