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.
Click to show internal directories.
Click to hide internal directories.