sshx

package
v0.31.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadPubKey

func ReadPubKey(data []byte) (ssh.PublicKey, error)

ReadPubKey attempts to parse data and return an ssh PublicKey.

It attempts formats such as:

  • an authorized_keys file used with OpenSSH according to the sshd(8) manual page
  • used in the SSH wire protocol according to RFC 4253, section 6.6

Types

This section is empty.

Jump to

Keyboard shortcuts

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