libssh

package
v1.1.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpPrivateKey

func DumpPrivateKey(privateKey *ecdsa.PrivateKey, file string) error

func GenerateKeyPair

func GenerateKeyPair(tmpDir string) (privateKeyPath string, publicKey ssh.PublicKey, err error)

func NewKeyPair

func NewKeyPair() (*ecdsa.PrivateKey, ssh.PublicKey, error)

func RenderUserDataWithKey

func RenderUserDataWithKey(key ssh.PublicKey) string

func SCPToVMI

func SCPToVMI(vmi *v1.VirtualMachineInstance, keyFile, srcFile, targetFile string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳