Eclipse keeps dropping connection to remote server (NET Virtua)

Asked

Viewed 163 times

1

I work with eclipse remotely connected to a server. Recently, I changed the internet from Vivo (former GVT) to NET.

After switching, the eclipse connection to the server does not persist - drops from time to time, forcing me to always reconnect, open the (long) folder path on the server again.

This also happens with the connection by PUTTY, that is, it is not an eclipse fault. I wonder if there are any settings so I can change that interval or remove it.

  • If the problem started happening after the provider switch, it can only be one thing! The provider.

  • Yes, of that I have no doubt. Rss.. but the connection does not drop, it must be some port limitation, SSH, or other that makes only the eclipse and Putty restart the connection. Since I use private keys to connect to the server, I believe it is something in SSH. Hypothesis only.

  • Already advancing the NET makes Shapping or is it limits band to some ports

1 answer

0

This happened to me on SSH connections in OSX High Sierra when using NET.

I decided by editing my ~/. ssh/config file and inserting the line:

ServerAliveInterval 60

It keeps the connection active by sending a Keep-Alive package every 60 seconds.

Thank you to Rodrigo Calado for the solution in his blog.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.