# Override Debian #ChallengeResponseAuthentication no X11Forwarding no #PrintMotd no #AcceptEnv LANG LC_* #Subsystem sftp /usr/lib/openssh/sftp-server # Overriden below #UsePAM yes # Prefered hostkey order HostKey /etc/ssh/ssh_host_ed25519_key #HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_ecdsa_key # Restricted KEX/MAC/Ciphers KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256 Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes256-ctr MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256 # Keys only, no root AuthenticationMethods publickey PermitRootLogin No