# Functions
DefaultSSHServer is a function that creates DefaultServer.
Dial connects to the remote SSH server.
DialWithKey connects to the remote SSH server with a provided private key file (PEM).
EncodePrivateKeyToPEM encodes Private Key from RSA to PEM format.
GeneratePrivateKey creates RSA Private Key of specified byte size.
GeneratePublicKey returns the public part of the private key.
# Constants
DefaultSSHPort is the default SSH port of the NetBird's embedded SSH server.
ECDSA is key of type ecdsa.
ED25519 is key of type ed25519.
RSA is key of type rsa.
RSAKeySize is a size of newly generated RSA key.
TerminalBackoffDelay is the delay between terminal session readiness checks.
TerminalTimeout is the timeout for terminal session to be ready.
# Structs
Client wraps crypto/ssh Client to simplify usage.
DefaultServer is the embedded NetBird SSH server.
MockServer mocks ssh.Server.
# Interfaces
Server is an interface of SSH server.
# Type aliases
KeyType is a type of SSH key.