# Packages

Package scp handles file uploads and downloads via scp command.

# Functions

AuthorizedKeyFingerprint returns fingerprint from public key in authorized key format.
No description provided by the author
CryptoPublicKey extracts public key from RSA public key in authorized_keys format.
Fingerprint returns SSH RFC4716 fingerprint of the key.
KeysEqual is constant time compare of the keys to avoid timing attacks.
MarshalAuthorizedHostsFormat returns the certificate authority public key exported as a single line that can be placed in ~/.ssh/authorized_hosts.
MarshalAuthorizedKeysFormat returns the certificate authority public key exported as a single line that can be placed in ~/.ssh/authorized_keys file.
No description provided by the author
NewSigner returns new ssh Signer from private key + certificate pair.
No description provided by the author
PrivateKeyFingerprint returns fingerprint of the public key extracted from the PEM encoded private key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetShutdownPollPeriod sets a polling period for graceful shutdowns of SSH servers.
No description provided by the author

# Constants

AgentForwardRequest is SSH agent request.
AuthAgentRequest is a request to a SSH client to open an agent channel.
EnvRequest is a request to set an environment variable.
ExecRequest is a request to run a command.
MaxVersionStringBytes is the maximum number of bytes allowed for a SSH version string https://tools.ietf.org/html/rfc4253.
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.
PTYRequest is a request for PTY.
SessionEnvVar is environment variable for SSH session.
ShellRequest is a request for a shell.
SSHVersionPrefix is the prefix of "server version" string which begins every SSH handshake.
SubsystemRequest is a request to run a subsystem.
TrueClientAddrVar environment variable is used by the web UI to pass the remote IP (user's IP) from the browser/HTTP session into an SSH session.
WindowChangeRequest is a request to change window.

# Structs

No description provided by the author
No description provided by the author
EnvReqParams are parameters for env request.
ExecReq specifies parameters for a "exec" request.
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.
PTYReqParams specifies parameters for pty change window.
Server is a generic implementation of an SSH server.
SubsystemReq specifies the parameters for a "subsystem" request.
WinChangeReqParams specifies parameters for window changes.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerOption is a functional argument for server.