17.5. OpenSSH Configuration Files

17.5. 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 ssh_config and sshd_config man pages for information concerning the various directives available in the SSH configuration files.