Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidSSHKeyTypes = []string{ ssh.KeyAlgoRSA, ssh.KeyAlgoED25519, ssh.KeyAlgoECDSA256, ssh.KeyAlgoECDSA384, ssh.KeyAlgoECDSA521, ssh.KeyAlgoSKED25519, ssh.KeyAlgoSKECDSA256, }
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 ValidateSSHKey ¶
ValidateSSHKey validates authorized_keys file content
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.