Score:0

PuTTy/KiTTy Killed by Global VPN Client, Cannot Reconnect

sv flag

Running PuTTy/KiTTy on a W10 machine, I connect to a work VPN (Global VPN Client). Connect fine, but connection is killed due to (I suspect) inactivity. That's fine. Sys admin has recommended to use the following: keepalives turned off (set to 0), using Auto for IPv, and check "Attempt to reconnect on connection failure". I have now set this up. I've attempted various setups, prior, covering just about everything client side, but the issue persists.

When I connect, the SSH connection works initially. Connects, but then drops due to inactivity. The SSH window becomes unresponsive and I have to close. Try to open the connection again though and I can not connect whatsoever (does not display anything in the SSH window) and I get a "Network error: Connection timed out". Only thing that works is if I restart the VPN client software (Global VPN), which brings me back to square one and the issue repeats.

Believe this is a problem with the client side software / server side firewall settings. I can connect via VPN using Windows VPN and do not experience this issue (to what I'm led to believe is the same connection). However, this also creates another issue for me using the Windows VPN issue.

If anyone has a couple of pointers I can give my sysadmin to help resolve this issue would be amazing.

mandza avatar
rs flag
"Host * ServerAliveInterval 120" Add this to server side sshd config file.
A.B avatar
cl flag
A.B
You should check between two disconnects if you appear as coming from the same address or a different address (eg: `who` on the target server). Maybe the disconnect happens at the VPN part rather than at the specific TCP flow.
TheJebusLizard avatar
sv flag
We've ran this by the sys admin, everything is appearing correctly. It appears this is an issue with my ISP, as we've replicated the issue on other equipment on the same connection. However, it works on different connections. Thank you for the suggestion.
Score:1
rs flag

You can change putty settings like this: putty keep alive settings

On server side add this to /etc/ssh/sshd_config:

ClientAliveInterval 60

ClientAliveCountMax 2
TheJebusLizard avatar
sv flag
Have tried. This does not work. Same issue presents itself.
mandza avatar
rs flag
Can you lover it to 60sec?? And did you changed server sshd configuration?
TheJebusLizard avatar
sv flag
I have tried 60sec. I've tried 30 sec. But I don't have access to the server side sshd config. Will have to run it by the sys admin when they return
mandza avatar
rs flag
In case you solve problem, it would be nice if you share it here, so others can make use of it.
TheJebusLizard avatar
sv flag
Absolutely. I will enquire once they return and update what's happening.
TheJebusLizard avatar
sv flag
So, I did run this stuff by the server admin. Didn't work, as apparently it's already set up correctly on their end (RE: your suggestion). We have tried the connection from other locations, and it works. So, it has to be an issue with my ISP, or their equipment. Have replicated the issue on other equipment from the same location / connection. Thank you for your help.
Score:0
sv flag

It appears this is an issue related to my ISP, or their equipment. We have replicated the issue on other devices from this connection, however it does not effect devices using a different connection.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.