sshkey

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PrivateKeyFilename  = "id_rsa"
	PublicKeyFilename   = "id_rsa.pub"
	CertificateFilename = "pub.cert"
)

Variables

This section is empty.

Functions

func CreateSSHKey

func CreateSSHKey(key *common.SSHKey) error

func GenerateSSHKey

func GenerateSSHKey(key *common.SSHKey) error

func NeedPassword

func NeedPassword(keypath string) (bool, error)

func NeedPasswordRaw

func NeedPasswordRaw(content []byte) (bool, error)

func NeedSSHKeys

func NeedSSHKeys(ssh types.SSH) bool

func StoreClusterSSHKeys

func StoreClusterSSHKeys(clusterName string, ssh *types.SSH) (*types.SSH, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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