OpenSSH Configuration Files

OpenSSH has two different sets of configuration files, one for the client programs (ssh, scp, and sftp) and the other for the server service (sshd), located in two different areas.

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 subdirectory:

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