Documentation
¶
Overview ¶
package ssh provides convenience wrappers around the golang.org/x/crypto/ssh package for handling SSH key formatting and operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FingerprintSHA256 = ssh.FingerprintSHA256
FingerprintSHA256 returns the SHA256 fingerprint of the public key.
View Source
var MarshalAuthorizedKey = ssh.MarshalAuthorizedKey
MarshalAuthorizedKey serializes a public key to the authorized_keys wire format.
View Source
var NewPublicKey = ssh.NewPublicKey
NewPublicKey creates a new ssh.PublicKey from a crypto.PublicKey.
Functions ¶
func MarshalEd25519PrivateKey ¶
MarshalEd25519PrivateKey converts an ed25519 private key to PEM format. It wraps the functionality from golang.org/x/crypto/ssh to produce a PEM block in the modern OpenSSH private key format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.