Topic "Global Keepalives option"

Author Message
Lemon Juice
[View user's profile]

Joined: 2014-03-23
Posts: 7
I find myself needing to set the "Keepalives" option for all my saved connections to that my SSH or FTP connections are prevented from being disconnected. Can this be achieved somehow? If not, would it be a reasonable feature request?

The reason I need this is that I have one ISP that just drops FTP/SSH connections after a few minutes of inactivity for all servers so my need for enabling/disabling keep alive is not server-specific but depends on my current internet connection. I have more than 30 stored connections and changing this setting for each one is tedious and I'd preferably like to change it every time I change my ISP.

That's why a global setting for SSH and FTP keep alive would be really useful here. The simplest would be "use these global keep alive settings for all connections that have keep alive set to off" - but whatever solution you think best would be fine.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
No it's not possible. You can set default session settings, but those apply to future sessions only.
I'll consider your suggestion.
Lemon Juice
[View user's profile]

Joined: 2014-03-23
Posts: 7
Ok, thanks!
Pollyx
[View user's profile]

Joined: 2015-07-16
Posts: 1
prikryl wrote:
I'll consider your suggestion.


That would be great!

I am using WinSCP from within another application which is passing connection settings via commandline, so I have no way of setting a keepalive option. Very often I have a file open in my editor for several hours and don't notice that my changes were not applied because the session had timed out in the background.

This is a real pain, so the only solution would either be a global option for a keepalive in all new connections, even if they are opened from the command line, or a really transparent and reliable auto-reconnection without user intervention, as the dialog may be covered by other windows. I could also live with a commandline option for keepalives, but unfortunately the documentation says it "has a very limited effect", what ever that means.

Any news on this issue?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Pollyx wrote:
I am using WinSCP from within another application which is passing connection settings via commandline, so I have no way of setting a keepalive option.

You have: https://winscp.net/eng/docs/rawsettings
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License