sshutil

package
v2.19.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKeyPair

func GenerateKeyPair() ([]byte, []byte, error)

GenerateKeyPair generates a new ed25519 ssh key pair, and returns the private key and the public key respectively.

func GeneratePublicKey

func GeneratePublicKey(privBytes []byte) ([]byte, error)

GeneratePublicKey generate a public key from the provided private key.

func GetPublicKeyFingerprint

func GetPublicKeyFingerprint(pubBytes []byte) (string, error)

GetPublicKeyFingerprint generate the finger print for the provided public key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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