I was trying to upgrade my VPS to 14.3-R, but it was failing because the SSH connection kept breaking while the
I didn't have any problems with the SSH connection if I just logged in and let it sit idle. It was only after some time of running
I eventually adjusted some ssh and sshd settings (and restarted sshd):
.ssh/config on client (Linux):
sshd_config_local on FreeBSD VPS:
After this, I was able to run the
I did get an error later in the process, when running the final
.. but the process continued and completed seemingly successfully.
Should I be worried about the gunzip error?
Are there better ways to prevent the "Timeout, server $VPS_IP_ADDRESS not responding" problem?
freebsd-update
command was running with the error message "Timeout, server $VPS_IP_ADDRESS not responding" (where $VPS_IP_ADDRESS is the IPv4 address of my VPS).I didn't have any problems with the SSH connection if I just logged in and let it sit idle. It was only after some time of running
freebsd-update
that it broke.I eventually adjusted some ssh and sshd settings (and restarted sshd):
.ssh/config on client (Linux):
Code:
Host *
ServerAliveInterval 100
ServerAliveCountMax 10
sshd_config_local on FreeBSD VPS:
Code:
ClientAliveInterval 100
ClientAliveCountMax 10
After this, I was able to run the
freebsd-update
command without the ssh connection breaking.I did get an error later in the process, when running the final
freebsd-update install
command:
Bash:
# freebsd-update install
Installing updates...gunzip: (stdin): unexpected end of file
.. but the process continued and completed seemingly successfully.
Bash:
# freebsd-version -kru
14.3-RELEASE
14.3-RELEASE
14.3-RELEASE
Should I be worried about the gunzip error?
Are there better ways to prevent the "Timeout, server $VPS_IP_ADDRESS not responding" problem?