Skip to content

Rage Against the Shell

Linux tips and other things…

  • Home
  • Contact
  • Privacy Policy

Prevent disconnections on SSH client

Posted on January 31, 2016 - September 18, 2016 by Mr. Reboot

To prevent disconnections on client side in your SSH terminal you can add this parameter to the configuration file /etc/ssh/ssh_config:

ServerAliveInterval 100

Basically this option will send a null packet to the remote host every 100 seconds and will keep alive the connection.

Posted in SSH

Post navigation

Fragment table on cisco 8xx
Using MAKEDEV

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Calendar

January 2016
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Dec   Apr »

Categories

  • Apache
  • Cisco
  • Command line
  • Distros
  • Dovecot
  • File systems
  • Gadgets
  • GlusterFS
  • MySQL
  • Nginx
  • NTP
  • Opendkim
  • Pacemaker + Corosync
  • Postfix
  • Raspberrypi
  • SSH
  • SSL
  • Varnish

RSS RSS

  • Using qrencode January 16, 2022
  • Compile varnish module vmod_vsthrottle April 22, 2020
  • SSH vpn with sshuttle April 9, 2020
  • Disable swap in systemd December 16, 2019
  • Getting the parent process pid October 12, 2018
Proudly powered by WordPress | Theme: micro, developed by DevriX.