Keepalives by default for all new connections

Advertisement

usovdm
Donor
Joined:
Posts:
2
Location:
Belgorod

Keepalives by default for all new connections

Greetings.
I have wireless 3g internet and WinSCP losts all connections (with ethernet all works good).
To resolve issue I turn ON keepalives.
How I can to check keepalive by default for all new connections?

winscp-keepalive.jpg

Reply with quote

Advertisement

User12131
Guest

ran into this too (my ISP added 15-minute-timeouts on everything over night ?!),
and while this is nice to update "new" connections, I´d rly need a "also update all the existing connections"
And since I connect from the GUI the fix from https://winscp.net/forum/viewtopic.php?t=13659 won´t do it here :/

So if you´re lucky and have gitbash(and so `sed`):
# turn on for all sessions (ssh-null-type, default 30 seconds)
sed -i.bak -e '/\[Sessions\\/aPingType=1' ~/AppData/Roaming/WinSCP.ini
# turn on for all sessions (ssh-null-type, 5 minute timeout)
sed -i.bak -e '/\[Sessions\\/a PingType=1' -e '/\[Sessions\\/a PingInterval=5' -e '/\[Sessions\\/a PingIntervalSecs=0' ~/AppData/Roaming/WinSCP.ini

Reply with quote

Advertisement

You can post new topics in this forum