Difference between revisions of "Redhat7:SSH config"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== 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 sy...")
 
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
  
 
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:
 
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:
 +
 +
 +
 +
{| class="wikitable"
 +
!colspan="6"| 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
 +
|
 +
|}
 +
 +
 +
 +
{| class="wikitable"
 +
!colspan="6"| 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
 +
 +
|}

Latest revision as of 11:49, 13 January 2015

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