sshx

package
v0.16.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 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