package
11.3.4
Repository: https://github.com/zmb3/teleport.git
Documentation: pkg.go.dev

# Packages

Package ppk provides functions implementing conversion between Teleport's native RSA keypairs and PuTTY's PPK format.

# Functions

AsAuthMethod returns an "auth method" interface, a common abstraction used by Golang SSH library.
ConnectProxyTransport opens a channel over the remote tunnel and connects to the requested host.
HostKeyCallback returns an ssh.HostKeyCallback that validates host keys/certs against SSH CAs in the Key.
IsSSHCertType checks if the given string looks like an ssh cert type.
KeysEqual is constant time compare of the keys to avoid timing attacks.
MakeRealHostCert makes an SSH host certificate that is signed by the provided CA.
MakeSpoofedHostCert makes an SSH host certificate that claims to be signed by the provided CA but in fact is signed by a different CA.
MakeTestSSHCA generates a new SSH certificate authority for tests.
NewChConn returns a new net.Conn implemented over SSH channel.
NewExclusiveChConn returns a new net.Conn implemented over SSH channel, whenever this connection closes.
NewHostKeyCallback returns host key callback function with the specified parameters.
ParseAuthorizedKeys parses provided authorized_keys entries into ssh.PublicKey list.
ParseCertificate parses an SSH certificate from the authorized_keys format.
ParseKnownHosts parses provided known_hosts entries into ssh.PublicKey list.
ProxyClientSSHConfig returns an ssh.ClientConfig from the given ssh.AuthMethod.
SSHSigner returns an ssh.Signer from certificate and private key.

# Constants

ConnectionTypeRequest is a request sent over a SSH channel that returns a boolean which indicates the connection type (direct or tunnel).
ProxyHelloSignature is a string which Teleport proxy will send right after the initial SSH "handshake/version" message if it detects talking to a Teleport server.

# Structs

CertChecker is a drop-in replacement for ssh.CertChecker.
ChConn is a net.Conn like object that uses SSH channel.
DialReq is a request for the address to connect to.
HandshakePayload structure is sent as a JSON blob by the teleport proxy to every SSH server who identifies itself as Teleport server It allows teleport proxies to communicate additional data to server.
HostKeyCallbackConfig is the host key callback configuration.

# Interfaces

No description provided by the author

# Type aliases

CheckersGetter defines a function that returns a list of ssh public keys.