Way To Increase Remote Session Time In Your Linux Server

By | February 27, 2012

Increase Linux server remote session time :-

Put the below option in sshd_config file under /etc/ssh/ directory.

ClientAliveInterval 180

[[email protected] ~]# cd /etc/ssh/
[[email protected] ssh]# pwd
/etc/ssh
[[email protected] ssh]# ll
total 200
-rw——- 1 root root 132839 Mar 31 2010 moduli
-rw-r–r– 1 root root 1827 Mar 31 2010 ssh_config
-rw——- 1 root root 3324 Nov 18 18:30 sshd_config
-rw——- 1 root root 668 Nov 17 00:49 ssh_host_dsa_key
-rw-r–r– 1 root root 590 Nov 17 00:49 ssh_host_dsa_key.pub
-rw——- 1 root root 963 Nov 17 00:49 ssh_host_key
-rw-r–r– 1 root root 627 Nov 17 00:49 ssh_host_key.pub
-rw——- 1 root root 1675 Nov 17 00:49 ssh_host_rsa_key
-rw-r–r– 1 root root 382 Nov 17 00:49 ssh_host_rsa_key.pub
[[email protected] ssh]#

Note:

Where, 180= Client ideal session time

Leave a Reply

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