ppk

package
v0.0.0-...-8f91da0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Overview

Package ppk provides functions implementing conversion between Teleport's native RSA keypairs and PuTTY's PPK format. It also provides functions for working with RFC4251-formatted mpints and strings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToPPK

func ConvertToPPK(privateKey crypto.Signer, pub ssh.PublicKey) ([]byte, error)

ConvertToPPK takes a regular SSH keypair and converts it into the PPK file format used by the PuTTY SSH client. The file format is described here: https://the.earth.li/~sgtatham/putty/0.76/htmldoc/AppendixC.html#ppk

Types

This section is empty.

Jump to

Keyboard shortcuts

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