utils

package
v0.0.0-...-c2e29cd Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ValidSSHKeyTypes is a list of valid SSH key types

Please make sure that all the types in this list are supported by dropbear https://github.com/mkj/dropbear/blob/003c5fcaabc114430d5d14142e95ffdbbd2d19b6/src/signkey.c#L37

ssh-dss is not allowed here as it's insecure

Functions

func MarshalEnv

func MarshalEnv(instance interface{}) ([]string, error)

func ValidateSSHKey

func ValidateSSHKey(sshKey string) error

ValidateSSHKey validates authorized_keys file content

Types

This section is empty.

Jump to

Keyboard shortcuts

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