Reputation: 11
I was trying to delete a previous WordPress deployment on Google Cloud platform that I didn't want and suddenly I saw these errors. I can connect with FileZilla after increasing time out up to 120 seconds, I can also connect with ssh.cloud.google.com
, but the site keep on timing out. I have delete cache on CloudFlare.
Upvotes: 0
Views: 3266
Reputation: 11
I did 5 things:
Upvotes: 0
Reputation: 2065
As you didn't provide details I'll assume you are using SFTP to connect to a Linux instance as explained on Google Cloud docs.
Open a shell to the instance that hosts your FTP server and edit the following file (make a backup of the file before editing anything, just in case)
/etc/ssh/sshd_config
And find this value:
# Google Compute Engine times out connections after 10 minutes of inactivity.
# Keep alive ssh connections by sending a packet every 2 minutes.
ClientAliveInterval 120
Change the 120 to any other value you want (Remember you need root access to edit it and be careful, you could lock yourself out of the instance if you change what you shouldn't).
Then reload the ssh service:
sudo systemctl reload ssh.service
Upvotes: 2