Last active
April 14, 2022 01:52
-
-
Save CoconutMacaroon/62d56a90a49636e70567a3d817fdebdd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/ssh/sshd_config | |
# this is a good SSH config that is secure | |
# also always use keys, not passwords! | |
HostKeyAlgorithms ssh-ed25519,rsa-sha2-512,rsa-sha2-256 | |
KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,diffie-hellman-group18-sha512,diffie-hellman-group16-sha512,diffie-hellman-group14-sha256 | |
MACs umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com | |
PasswordAuthentication no | |
PermitRootLogin yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment