sshd_config 395 B

123456789101112131415
  1. Protocol 2
  2. Port 22
  3. UseDNS no
  4. PermitRootLogin no
  5. X11Forwarding no
  6. AllowTcpForwarding no
  7. PasswordAuthentication no
  8. PubkeyAuthentication yes
  9. Subsystem sftp internal-sftp
  10. ForceCommand internal-sftp
  11. ChrootDirectory %h
  12. HostKey /etc/ssh/host_keys/ssh_host_rsa_key
  13. HostKey /etc/ssh/host_keys/ssh_host_dsa_key
  14. HostKey /etc/ssh/host_keys/ssh_host_ecdsa_key
  15. HostKey /etc/ssh/host_keys/ssh_host_ed25519_key