18.4. OpenSSH Configuration Files

OpenSSH has two different sets of configuration files: one for client programs (ssh, scp, and sftp) and one for the server daemon (sshd).

System-wide SSH configuration information is stored in the /etc/ssh/ directory:

User-specific SSH configuration information is stored in the user's home directory within the ~/.ssh/ directory:

See the man pages for ssh and sshd for information concerning the various directives available in the SSH configuration files.