# Main SSH daemon configuraton # {{ ansible_managed }} Port 22 ListenAddress :: ListenAddress 0.0.0.0 Protocol 2 HostKey /etc/ssh/ssh_host_ed25519_key SyslogFacility AUTH LogLevel INFO LoginGraceTime 120 UsePAM yes StrictModes yes X11Forwarding no PrintMotd no PrintLastLog yes TCPKeepAlive yes AcceptEnv LANG LC_* MACs hmac-sha2-512,hmac-sha2-256 Ciphers aes256-ctr,aes192-ctr,aes128-ctr 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,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com PubkeyAuthentication yes PermitEmptyPasswords no ChallengeResponseAuthentication no PasswordAuthentication no HostbasedAuthentication yes HostbasedUsesNameFromPacketOnly yes IgnoreRhosts no PermitRootLogin no Subsystem sftp /usr/lib/openssh/sftp-server -f AUTH -l INFO