Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Share this Page URL
Help

Running the Server > Basic Server Configuration - Pg. 165

TheSSHServerBasics·Chapter7 165 If instead you want to use the inetd daemon to perform the service, simply edit the configuration file, usually present in /etc/inetd.conf (or /etc/xxinetd.conf), making sure to enter, or in some cases decomment, the following lines: ssh stream tcp nowait root /usr/local/sbin/sshd sshd ­i Moreover it is necessary to check that in the /etc/service file of the system there is an entry for OpenSSH with the relevant port associated; by default, the port is 22. The change of these files requires root privileges on the system. W arNiNg Note that when the OpenSSH service is started by a non-privileged user, there are some limitations. These limitations include the impossibility to connect to users other than those with which the process has been executed and the impossibility to access diagnostic information stored in the system logs. It is also important to remember that, as the daemon start is a manual step, it is necessary to dispose of a second access method to start the service. Some of these limitations can be overcome by using specific options.