ssh managment
This commit is contained in:
parent
8ef380bc9b
commit
f6c583ddfc
2 changed files with 6 additions and 0 deletions
|
|
@ -101,3 +101,4 @@
|
||||||
- iptables rules: SSH blocked except from trusted networks
|
- iptables rules: SSH blocked except from trusted networks
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- Strong cryptography enforced (RSA-SHA2, Ed25519, ChaCha20, AES-GCM)
|
- Strong cryptography enforced (RSA-SHA2, Ed25519, ChaCha20, AES-GCM)
|
||||||
|
- Authorized keys files: .ssh/authorized_keys (manual), .ssh/authorized_keys.forgejo (git-managed)
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,11 @@ StrictModes yes
|
||||||
X11Forwarding no
|
X11Forwarding no
|
||||||
PrintMotd no
|
PrintMotd no
|
||||||
|
|
||||||
|
# Multiple authorized_keys files
|
||||||
|
# - .ssh/authorized_keys: Manual/emergency keys
|
||||||
|
# - .ssh/authorized_keys.forgejo: Git-managed keys (deployed via Forgejo Actions)
|
||||||
|
AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys.forgejo
|
||||||
|
|
||||||
# Strong cryptography only
|
# Strong cryptography only
|
||||||
Ciphers {{ ssh_ciphers | join(',') }}
|
Ciphers {{ ssh_ciphers | join(',') }}
|
||||||
MACs {{ ssh_macs | join(',') }}
|
MACs {{ ssh_macs | join(',') }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue