I have a system based on two servers: the production is on DigitalOcean (Ubuntu 16.04.7 LTS) and the test is on another hosting.
The development connects to the production server once a day to download the MySQL data so that I can keep a backup and run my test on real data – even if it is 24 hours “old”.
Today I had to change the test server so I generated new id_rsa keys and added the new one to the .ssh/authorized_keys keys on the DigitalOcean server.
Unfortunately I cannot connect from the new server as I always get a “Connection refused” error.
There is no firewall configured.
I can still connect from my personal computer, I think everything is in order on the DigitalOcean server and I cannot figure out what can prevent my connection from the new server.
I’m not an expert on this matter, hopefully someone can help me in fixing this?
Thank you so much! Hugh