Increase SSH Connection Timeout in Linux

 SSH timeouts as a result of inactivity can be quite irritating. Then each time you have to reconnect the session

Steps:

Login with SSH

vi /etc/ssh/sshd_config

change the "ClientAliveInterval" to different value

 Timeout value = ClientAliveInterval * ClientAliveCountMax

  if ClientAliveInterval=1200, Time out =1200*3=3600sec =1hr

service ssh restart


No comments:

Post a Comment

how to unlink a NIC from a esxi vSwitch

  List the vSwitches from ESXI using CLI:          esxcli network vswitch standard list  output example: vSwitch0    Name: vSwitch0    Class...