27 lines
800 B
Plaintext
27 lines
800 B
Plaintext
|
Port 22
|
||
|
Protocol 2
|
||
|
HostKey /etc/ssh/ssh_host_ed25519_key
|
||
|
HostKey /etc/ssh/ssh_host_rsa_key
|
||
|
KexAlgorithms curve25519-sha256@libssh.org
|
||
|
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
|
||
|
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,umac-128@openssh.com
|
||
|
|
||
|
ChallengeResponseAuthentication no
|
||
|
HostbasedAuthentication no
|
||
|
PasswordAuthentication no
|
||
|
PubkeyAuthentication yes
|
||
|
|
||
|
IgnoreUserKnownHosts yes
|
||
|
PermitRootLogin no
|
||
|
PrintMotd no
|
||
|
StrictModes yes
|
||
|
Subsystem sftp internal-sftp
|
||
|
UsePAM yes
|
||
|
|
||
|
{% for block in ssh_match_blocks %}
|
||
|
Match {{ block.match }}
|
||
|
{% for option in block.options %}
|
||
|
{{ option }}
|
||
|
{% endfor %}
|
||
|
{% endfor %}
|