26.2 OpenSSH Configuration Files

The following OpenSSH global configuration files are located in /etc/ssh:

moduli

Contains key-exchange information that is used to set up a secure connection.

ssh_config

Contains default client configuration settings that can be overridden by the settings in a user’s ~/.ssh/config file.

ssh_host_dsa_key

Contains the DSA private key for SSH2.

ssh_host_dsa_key.pub

Contains the DSA public key for SSH2.

ssh_host_key

Contains the RSA private key for SSH1.

ssh_host_key.pub

Contains the RSA public key for SSH1.

ssh_host_rsa_key

Contains the RSA private key for SSH2.

ssh_host_rsa_key.pub

Contains the RSA public key for SSH2.

sshd_config

Contains configuration settings for sshd.

Other files can be configured in this directory. For details, see the sshd(8) manual page.

For more information, see the ssh_config(5), sshd(8), and sshd_config(5) manual pages.