ssh

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ssh

type Ssh struct {
	Bits int

	PrivateKey []byte
	PublicKey  []byte
}

func New

func New(bits int) Ssh

func (Ssh) WritePrivateKey

func (s Ssh) WritePrivateKey(saveFileTo string) error

writePemToFile writes keys to a file

func (Ssh) WritePublicKey

func (s Ssh) WritePublicKey(saveFileTo string) error

writePemToFile writes keys to a file

Jump to

Keyboard shortcuts

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