login about faq

I'm taking connections with Tectia Client through a firewall. The firewall is configured to drop connections when they have been idle for 10 minutes. I'd like to leave my idle sessions open for longer times. Is there any way prevent the connections getting closed from Tecia Client?

I don't have access to the firewall so I cannot reconfigure it. I also don't have access to the server I'm connecting to, so the solution would have to be purely in the Client.

asked Oct 06 '09 at 12:11

Ville%20Laurikari's gravatar image

Ville Laurikari

edited Oct 13 '09 at 10:32

Sami%20Lehtinen's gravatar image

Sami Lehtinen

For this very purpose, you can configure the client to send keep-alive messages within the connection.

In the command line clients, use the --keep-alive option:


  Defines how often keep-alive messages are sent to the Secure Shell server.
  Enter the value as seconds.  The default value is 0, meaning that keep-alive
  messages are disabled.

For permanent effect, you can enable keep-alives in the configuration. From the GUI, select General → Default Connection → Server, and set the "Keepalive interval" setting to a nonzero value. The setting is also available as a profile specific setting in the Server tab when configuring a profile.

The keep-alive messages are sent within the ssh connection as special "no-op" packets which the server ignores. They generate a minimal amount of traffic in the TCP connection so that firewalls no longer treat the connection as idle.


answered Oct 06 '09 at 12:22

Ville%20Laurikari's gravatar image

Ville Laurikari

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 06 '09 at 12:11

Seen: 32,808 times

Last updated: Oct 13 '09 at 10:32

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.