Software >> OS >> Unix >> Solaris >> SSH >>  What are the files related to SSH

Solaris 9 ========= FILE : /etc/ssh/sshd_config DESCRIPTION : Contains configuration data for sshd, the Secure Shell daemon. PERMISSION/OWNER : -rw-r--r-- root FILE : /etc/ssh/ssh_host_key DESCRIPTION : Contains the host private key. PERMISSION/OWNER : -rw------- root FILE : /etc/ssh_host_key.pub DESCRIPTION : Contains the host public key. Used to copy the host key to the local known_hosts file. PERMISSION : -rw-r--r-- root FILE : /var/run/sshd.pid DESCRIPTION: 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). PERMISSION/OWNER 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