SSH is the main service of ContainerSSH. It has the following configuration structure:
The options are as follows:
||IP and port pair to bind the SSH service to. Defaults to
||Server version string presented to any connecting client. Must start with
||List of ciphers the server should support. See the Ciphers section below.|
||List of key exchange algorithms the server should support. See the Key exchange section below.|
||List of MAC algorithms the server should support. See the MAC section below.|
||The banner text to presented to any connecting client.|
||List of host keys in PEM format, or file names to read the key from. Generate with
Configuring the server version¶
The SSH server version is presented to any connecting client in plain text upon connection. It has the following format:
SSH-2.0-softwareversion <SP> comments
softwareversion can only contain printable US-ASCII characters without whitespace and minus (
-) signs. The
comments field is optional and is separated from the
softwareversion with a single space. The maximum length of the version string is 255 characters.
Configuring a banner¶
SSH offers the ability to output a message to the clients before they enter passwords. This can be configured in the
banner option. The banner can contain multiple lines.
ContainerSSH supports the following ciphers. The defaults are configured based on Mozilla Modern suite.
ContainerSSH supports the following key exchange algorithms. The defaults are configured based on Mozilla Modern suite.
ContainerSSH supports the following MAC algorithms. The defaults are configured based on Mozilla Modern suite.