{"id":610,"date":"2012-02-27T06:26:46","date_gmt":"2012-02-27T11:26:46","guid":{"rendered":"https:\/\/www.bodhost.com\/blog\/?p=610"},"modified":"2026-02-26T13:59:06","modified_gmt":"2026-02-26T13:59:06","slug":"way-to-increase-remote-session-time-in-your-linux-server","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/blog\/way-to-increase-remote-session-time-in-your-linux-server\/","title":{"rendered":"Way To Increase Remote Session Time In Your Linux Server"},"content":{"rendered":"\r\n<h3><strong>Increase Linux server remote session time:-<\/strong><\/h3>\r\n\r\n\r\n\r\n<p>Put the below option in the sshd_config file under the\/etc\/ssh\/ directory.<\/p>\r\n\r\n\r\n\r\n<p>ClientAliveInterval 180<\/p>\r\n\r\n\r\n\r\n<p>[root@localhost ~]# cd \/etc\/ssh\/<br \/>[root@localhost ssh]# pwd<br \/>\/etc\/ssh<br \/>[root@localhost ssh]# ll<br \/>total 200<br \/>-rw&#8212;&#8212;- 1 root root 132839 Mar 31 2010 moduli<br \/>-rw-r&#8211;r&#8211; 1 root root 1827 Mar 31 2010 ssh_config<br \/>-rw&#8212;&#8212;- 1 root root 3324 Nov 18 18:30 sshd_config<br \/>-rw&#8212;&#8212;- 1 root root 668 Nov 17 00:49 ssh_host_dsa_key<br \/>-rw-r&#8211;r&#8211; 1 root root 590 Nov 17 00:49 ssh_host_dsa_key.pub<br \/>-rw&#8212;&#8212;- 1 root root 963 Nov 17 00:49 ssh_host_key<br \/>-rw-r&#8211;r&#8211; 1 root root 627 Nov 17 00:49 ssh_host_key.pub<br \/>-rw&#8212;&#8212;- 1 root root 1675 Nov 17 00:49 ssh_host_rsa_key<br \/>-rw-r&#8211;r&#8211; 1 root root 382 Nov 17 00:49 ssh_host_rsa_key.pub<br \/>[root@localhost ssh]#<\/p>\r\n\r\n\r\n\r\n<p><strong>Note:<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Where, 180= Client&#8217;s ideal session time<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Increase Linux server remote session time:- Put the below option in the sshd_config file under the\/etc\/ssh\/ directory. ClientAliveInterval 180 [root@localhost ~]# cd \/etc\/ssh\/[root@localhost ssh]# pwd\/etc\/ssh[root@localhost ssh]# lltotal 200-rw&#8212;&#8212;- 1 root root 132839 Mar 31 2010 moduli-rw-r&#8211;r&#8211; 1 root root 1827 Mar 31 2010 ssh_config-rw&#8212;&#8212;- 1 root root 3324 Nov 18 18:30 sshd_config-rw&#8212;&#8212;- 1 root root [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149],"tags":[77,150],"class_list":["post-610","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux-server","tag-remote-session-time"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/posts\/610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/comments?post=610"}],"version-history":[{"count":5,"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/posts\/610\/revisions"}],"predecessor-version":[{"id":5632,"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/posts\/610\/revisions\/5632"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/media?parent=610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/categories?post=610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/blog\/wp-json\/wp\/v2\/tags?post=610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}