aports/main/openssh/sshd.confd
Dermot Bradley 690206586d main/openssh: make generated host key types configurable
Add configuration to define which types of host key are generated. This is
typically used with VM/Cloud images upon 1st boot to enforce a security
policy regarding permitted host key types.
Add configuration to control generated ECDSA and RSA host keys bit lengths.
Various shellcheck fixups.
2021-04-13 09:27:50 +00:00

26 lines
687 B
Bash

# Configuration for /etc/init.d/sshd
# Path of sshd_config file.
#cfgfile="/etc/ssh/sshd_config"
# Any random options you want to pass to sshd.
# See the sshd(8) manpage for more info.
#command_args=""
# Space-separated list of SSH host key types to generate if they do
# not already exist. An empty value means generate all of the default
# set of dsa, ecdsa, ed25519, and rsa types.
#
# Example: "ed25519 rsa".
#
#key_types_to_generate=""
# The number of bits to use for a generated ECDSA SSH host key.
# Defaults to 256 bits if not set.
#
#ecdsa_bit_size="256"
# Number of bits for use for a generated RSA SSH host key.
# Defaults to 3072 bits if not set.
#
#rsa_bit_size="3072"