ssh

package
v0.0.0-...-54411c7 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PublicKeyUserAuthRequest

type PublicKeyUserAuthRequest struct {
	User      string
	Service   string
	Method    string
	SessionID []byte
	Algorithm string
	PublicKey ssh.PublicKey
	// HostKey is not nil for publickey-hostbound-v00@openssh.com method.
	HostKey ssh.PublicKey
}

PublicKeyUserAuthRequest represents the parsed fields of an SSH_MSG_USERAUTH_REQUEST packet. See RFC 4252 section 5.

func ParsePublicKeyUserAuthRequest

func ParsePublicKeyUserAuthRequest(data []byte) (PublicKeyUserAuthRequest, error)

ParsePublicKeyUserAuthRequest parses the payload of an SSH_MSG_USERAUTH_REQUEST packet.

Jump to

Keyboard shortcuts

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