peer_ssh

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPublicKey

func NewPublicKey(pubKey crypto.PubKey) (ssh.PublicKey, error)

NewPublicKey converts a public key into a ssh public key. Returns ErrKeyUnsupported if the key type is unsupported.

func NewSigner

func NewSigner(privKey crypto.PrivKey) (ssh.Signer, error)

NewSigner constructs a new signer from a private key

Types

This section is empty.

Jump to

Keyboard shortcuts

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