SSH is refused from a new server but not from old ones
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 idrsa keys and added the new one to the .ssh/authorizedkeys 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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×