Lao Zuo himself has encountered it, and many netizens have encountered that after opening the VULTR VPS host, we usually use SSH software such as PUTTY or XSHELL to remotely link Linux. But when we deploy scripts and O&M, do we often have the problem of disconnection, so we still need to re link, and sometimes even cannot link after disconnection for a long time? What is the problem?
First, the server is unstable
If the server network is unstable, for example, when we visit overseas servers, the network is unstable and packet loss occurs. If we link well, suddenly the network is unstable and packet loss is serious, we will be disconnected automatically. This will affect the process of installing software. If a similar situation occurs, we either need to replace the server room, or we need to operate on a stable network, and we need to use the SCREEN command to automate remote management as far as possible.
Second, the problem of firewall
Lao Zuo also encountered this problem. For example, when we logged in to a server SFTP or SSH and operated on files, we suddenly lost the connection and had to wait a long time to link. The problem is generally that the WEB environment we deploy has a firewall, and we may be restricted by the firewall, such as how long we need to wait before we can continue to access.
All we need to do is turn off the firewall.
Third, time interval disconnection
Sometimes, because our local server has settings, if the connection is not operated for a long time, it will be automatically disconnected. I also met this problem. After we log in to the remote system, if you don't hang up there, it will automatically disconnect. We can remove the restrictions or connect when using.
In short, the SSH management of the VULTR connection is always disconnected, which is mostly caused by network instability.
Scan the code to follow the official account
Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge