{"id":640,"date":"2015-01-13T21:33:09","date_gmt":"2015-01-13T20:33:09","guid":{"rendered":""},"modified":"2018-12-20T20:36:57","modified_gmt":"2018-12-20T19:36:57","slug":"keeping-putty-telnet-session-alive","status":"publish","type":"post","link":"https:\/\/nil.uniza.sk\/en\/keeping-putty-telnet-session-alive\/","title":{"rendered":"Keeping PuTTY telnet session alive"},"content":{"rendered":"<p>Working with my HP Terminal server, which we are using as a remote console acccess solution allows us login into Cisco router console ports remotely, i&#8217;m loosing the Putty connection due to inactivity.\u00a0However the PuTTY client can be configured to maintain a connection and not time it out. All what we need to do is setup built-in keepalive machanism:<\/p>\n<p>&nbsp;<\/p>\n<p>1. Open the PuTTy application<\/p>\n<p>2. Load a saved session definition by selecting it from the list, hp-TerminalServer in my case (or used default setting for all sessions created in a future)<\/p>\n<p><img decoding=\"async\" style=\"font-size: 11.1999998092651px; width: 500px; height: 443px;\" src=\"\/wp-content\/uploads\/files\/image\/Netacad\/putty-keepalive-1.png\" alt=\"putty-keepalive-1\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>3. Then select Connection from a Category list<\/p>\n<p><img decoding=\"async\" style=\"width: 500px; height: 443px;\" src=\"\/wp-content\/uploads\/files\/image\/Netacad\/putty-keepalive-2.png\" alt=\"putty-keepalive-2\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>4. In the\u00a0field\u00a0Sending null packets to keep session active\u00a0change the default value from\u00a00 to some value in seconds, for example 900sec\u00a0(15 minutes)\u00a0and\u00a0check the\u00a0Enable TCP keepalives (SO_KEEPALIVE option)\u00a0check box.<\/p>\n<p>Note:\u00a0This option may not be available in older versions of the PuTTY client.<\/p>\n<p><img decoding=\"async\" style=\"width: 500px; height: 443px;\" src=\"\/wp-content\/uploads\/files\/image\/Netacad\/putty-keepalive-3.png\" alt=\"putty-keepalive-3\" \/><\/p>\n<p>6. Select\u00a0again Session\u00a0from the left hand menu and click on the Save button.<\/p>","protected":false},"excerpt":{"rendered":"<p>\n\tWorking with my HP Terminal server, which we are using as a remote console acccess solution allows us login into Cisco router console ports remotely, i&#39;m loosing the Putty connection due to inactivity.&nbsp;<span style=\"font-size: 11px;\">However the PuTTY client can be configured to maintain a connection and not time it out. All what we need to do <\/span>is setup built-in keepalive machanism:<\/p>\n<p>\n\t&nbsp;<\/p>\n<p>\n\t1. Open the PuTTy application&nbsp;<\/p>","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[695],"tags":[],"class_list":["post-640","post","type-post","status-publish","format-standard","hentry","category-netacad-en"],"taxonomy_info":{"category":[{"value":695,"label":"NetAcad"}]},"featured_image_src_large":false,"author_info":{"display_name":"admin","author_link":"https:\/\/nil.uniza.sk\/en\/author\/admin\/"},"comment_info":30,"category_info":[{"term_id":695,"name":"NetAcad","slug":"netacad-en","term_group":0,"term_taxonomy_id":693,"taxonomy":"category","description":"","parent":0,"count":9,"filter":"raw","cat_ID":695,"category_count":9,"category_description":"","cat_name":"NetAcad","category_nicename":"netacad-en","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/comments?post=640"}],"version-history":[{"count":0,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/640\/revisions"}],"wp:attachment":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/media?parent=640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/categories?post=640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/tags?post=640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}