sshKeyGen

package
v0.0.0-...-fa0e601 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKey

func GenerateKey(rsaBits int, rsaPasswordLength int) (privateKey string, publicKey string, password string, err error)

GenerateKey generate a rsa keypair with rsaBits length and a password of length rsaPasswordLength the key pair is directly usable as a ssh keypair

Types

This section is empty.

Jump to

Keyboard shortcuts

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