Configuring sshd

Bookmark and Share
The first step to secure ssh communication between two hosts is with selective on the side sshd. Sshd on the default configuration most of the distribution is usually not optimal in terms of utilization of facilities security that is capable of given by OpenSSH. Sshd configuration file stored in the / etc / ssh / sshd_config. Sshd behavior the definition made in file. You can order a sshd to behave differently with provide additional parameters in the command line when running sshd.

After making changes to the configuration file, you should send a SIGHUP signal to the sshd so that he reread the configuration file and gives the effect of the change made. Alternative way to sshd command to read reset the configuration file is the way me to restart the daemon.

Is almost on the distribution of GNU / Linux or BSD include a script that will make it easier to restart this process, check the directory this script is OS distribution You, usually in / etc / init.d.

Here are some keywords sshd configuration to be adjusted. Configuration keyword is not a list complete, but only a few only part of it is necessary adjusted in order to step security. A complete list of configuration sshd can you find in the manual page sshd_config (5).



{ 0 komentar... Views All / Send Comment! }