package
0.2.0-beta.7
Repository: https://github.com/dspasibenko/teleport.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetTokenFromHOTPMockFile opens HOTPMock from file, gets token value, increases hotp and saves it to the file.
No description provided by the author
NewClient creates a TeleportClient object and fully configures it.
NewFSLocalKeyStore creates a new filesystem-based local keystore object and initializes it.
NewLocalAgent loads all the saved teleport certificates and creates ssh agent with them.
ParseLabelSpec parses a string like 'name=value,"long name"="quoted value"` into a map like { "name" -> "value", "long name" -> "quoted value" }.
Username returns the current user's username.

# Structs

Config is a client config.
ForwardedPort specifies local tunnel to remote destination managed by the client, is equivalent of ssh -L src:host:dst command.
FSLocalKeyStore implements LocalKeyStore interface using the filesystem Here's the file layout for the FS store: ~/.tsh/ ├── known_hosts --> trusted certificate authorities (their keys) in a format similar to known_hosts └── sessions --> server-signed session keys └── host-a | ├── cert | ├── key | └── pub └── host-b ├── cert ├── key └── pub.
HOTPMock is a HOTP that can be saved or load from file Using HOTPMock disables the hotp security level, don't use it in production.
Key describes a complete (signed) client key.
No description provided by the author
NodeClient implements ssh client to a ssh node (teleport or any regular ssh node) NodeClient can run shell and commands or upload and download files.
ProxyClient implements ssh client to a teleport proxy It can provide list of nodes or connect to nodes.
TeleportClient is a wrapper around SSH client with teleport specific workflow built in.

# Interfaces

LocalKeyStore interface allows for different storage back-ends for TSH to load/save its keys.

# Type aliases

HostKeyCallback is called by SSH client when it needs to check remote host key or certificate validity.