sshd_config 440 B

1234567891011121314151617181920
  1. Port 22
  2. ListenAddress 0.0.0.0
  3. # Authentification : uniquement par clé (clé gateway_rsa)
  4. PasswordAuthentication no
  5. PubkeyAuthentication yes
  6. AuthorizedKeysFile .ssh/authorized_keys
  7. PermitRootLogin no
  8. # Pas de ForceCommand ici — connexion directe depuis la gateway
  9. AllowTcpForwarding no
  10. X11Forwarding no
  11. ClientAliveInterval 30
  12. ClientAliveCountMax 3
  13. LogLevel INFO
  14. HostKey /etc/ssh/ssh_host_ed25519_key
  15. HostKey /etc/ssh/ssh_host_rsa_key