Skip to content

opsi.orgheader image

opsi.org
Views
opsi wiki page >> Opsi Server Installation >>

sshd-configuration

Document Actions
last edited 4 years ago by jschneider

The webConfigEditor opens SSH sessions to retrieve the data from the opsi configuration files. Since browser sessions do not necessarily have the chance to close regularly the SSHD must be configured that unused SSH sessions end by a time out. Otherwise the open SSH sessions will accumulate until they at last block the server.

In your ssh daemons configuration (/etc/ssh/sshd_config) you should set `ClientAliveInterval` to some value other than the default: 0 (which indicates that no messages are sent to the client). A value of 20 for example will have the effect that if no data are received from the client for 20 seconds, sshd will send a message through the encrypted channel to request a response from the client. After `ClientAliveCountMax` tries sshd will close the connection. The default value of `ClientAliveCountMax` is 3.

If you experience problems while connecting to a ssh server with the (web)ConfigEditor please assure that `PasswordAuthentication` is set to `yes` in sshd_config.