/etc/ssh/sshd_config
|
Contains configuration data for sshd, the Secure Shell daemon.
|
-rw-r--r-- root
|
/etc/ssh/ssh_host_key
|
Contains the host private key.
|
-rw------- root
|
/etc/ssh_host_key.pub
|
Contains the host public key. Used to copy the host key to the local known_hosts file.
|
-rw-r--r-- root
|
/var/run/sshd.pid
|
Contains the process ID of the Secure Shell daemon, sshd, which listens for connections (if there are multiple daemons, the file contains the last daemon that was started).
|
rw-r--r-- root
|
$HOME/.ssh/authorized_keys
|
Lists the RSA keys that can be used with v1 to log into
the user's account, or the DSA and RSA keys that can be used with v2.
|
-rw-rw-r-- johndoe
|
/etc/ssh/ssh_known_hosts
|
Contains the host public keys for all hosts with which the client may communicate securely. The file should be prepared by the administrator.
|
-rw-r--r-- root
|
$HOME/.ssh/known_hosts
|
Contains the host public keys for all hosts with which the client may communicate securely. The file is maintained automatically.
Whenever the user connects with an unknown host, the remote host key is added to the file.
|
-rw-r--r-- johndoe
|
/etc/nologin
|
If this file exists, sshd refuses to let anyone except root log in. The contents are displayed to users who are attempting to log in.
|
-rw-r--r-- root
|
$HOME/.rhosts
|
Contains the host-user name pairs that specifies the hosts to which the user can log in to without
a password. The file is used Secure Shell, as well as by the rlogind and rshd daemons.
|
-rw-r—r-- johndoe
|
$HOME/.shosts
|
Contains the host-user name pairs that specifies the hosts to which the user can log in to without
a password using Secure Shell only.
|
-rw-r—r-- johndoe
|
/etc/hosts.equiv
|
Contains the hosts that are used in .rhosts authentication and Secure Shell authentication.
|
-rw-r--r-- root
|
/etc/ssh/shosts.equiv
|
Contains the hosts that are used in Secure Shell authentication.
|
-rw-r--r-- root
|
$HOME/.ssh/environment
|
Used for initialization to make assignments at login.
|
-rw------- johndoe
|
$HOME/.ssh/rc
|
Runs initialization routines before the user shell starts.
|
-rw------- johndoe
|
/etc/ssh/sshrc
|
Runs host-specific initialization routines that are specified by an administrator for all users.
|
-rw-r--r-- root
|