• Home
  • Tips
      • Tips
      • HTML / CSS
      • PHP
      • SSH
      • Version Control
      • Wordpress
      • Linux
      • Windows
  • Plugins
      • Plugins
      • Post List
      • Include Page
      • Menu Editor
      • Weather
      • Examples
  • Something
      • Something
      • Common
    • Skip & Die

      Das Fest 2015

      Flugzeug nach Riga

      Strand

  • Recipes
      • Recipes
      • Quiche
    • Lauch-Käse-Quiche

  • Home
  • >
  • Tips
  • >
  • SSH
  • >
  • Set Client Timeout
Print This Post

Set Client Timeout

To set the timout for a SSH connection with a host, insert the following line into the file /etc/ssh/sshd_config:

ClientAliveInterval 60
ClientAliveCountMax 10

This sets a timout of 10 minutes (10 * 60 seconds).

 

After this changes you have to restart the ssh daemon

sudo service sshd restart
Weitere Artikel zum Thema
weiter

Mercurial and SSH

Sometime ago, we changed our repository to mercurial, for this was a good way to hold a history ...

Private and Public SSH Key

For communication with SSH you often need a private/public key pair. To create this you can...

Kommentare

Keine Kommentare bisher

Hinterlassen Sie einen Kommentar

Meistgelesene Artikel zum Thema
Mehr Meldungen

13.05.2015

Private and Public SSH Key

For communication with SSH you often need a private/public key pair. To create this you can user the tool puttygen which comes with the PuTTY installation (see:http://www.putty.org/). Open ...

13.05.2015

Mercurial and SSH

Sometime ago, we changed our repository to mercurial, for this was a good way to hold a history on all clients. If you want to connect to a remote repository, your should always consider using ...

16.11.2017

Set Client Timeout

To set the timout for a SSH connection with a host, insert the following line into the file /etc/ssh/sshd_config: ClientAliveInterval 60 ClientAliveCountMax 10 This sets a timout of 10 minutes...

Sonstiges

© 2025 Rainer Blank