19.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:

Refer to the man pages for ssh_config and sshd_config for information concerning the various directives available in the SSH configuration files.