Redhat7:SSH config

From Define Wiki
Revision as of 11:49, 13 January 2015 by Michael (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Configuration Files

There are two sets of configuration files used for SSH - those on the client side (ssh,scp and sftp) and those for the server (sshd daemon).

The system wide ssh configuration files can be found in /etc/ssh, while user specific files are found in /home/.ssh. The various files are list below:


System Wide Configuration Files
/etc/ssh/moduli
/etc/ssh/ssh_config
/etc/ssh/sshd_config
/etc/ssh/ssh_host_ecdsa_key
/etc/ssh/ssh_host_ecdsa_key.pub
/etc/ssh/ssh_host_key
/etc/ssh/ssh_host_key.pub
/etc/ssh/ssh_host_rsa_key
/etc/ssh/ssh_host_rsa_key.pub
/etc/pam.d/sshd
/etc/sysconfig/sshd


User-Specific Configuration Files
~/.ssh/authorized_keys
~/.ssh/id_ecdsa
~/.ssh/id_ecdsa.pub
~/.ssh/id_rsa
~/.ssh/id_rsa.pub
~/.ssh/identity
~/.ssh/identity.pub
~/.ssh/known_hosts