What you see
The app shows The server refused the connection on port 22. The details say:
Connection refused (os error 61)
In the Connection log the attempt shows as Failed, server not reachable.
Why it happens
The address leads to a machine, but nothing accepts connections on that port. Usually the SSH service is not running, the server uses another port, or a firewall rejects the connection.
What to do
- Open the server and check the Port. SSH uses 22 unless the administrator chose another one.
- On the server, from its console or a provider's web console, check that SSH is running:
On some systems the service is calledsudo systemctl status sshsshd. To start it now and at every boot:sudo systemctl enable --now ssh - Check which port SSH listens on. Look for the port next to
sshd, orsystemdon recent Ubuntu:sudo ss -tlnp - Check that the firewall lets the port in, for example with ufw:
sudo ufw allow 22/tcp - If you go through jump servers, the refusal can come from any step of the chain. Try to connect to each jump server on its own. See Jump hosts and proxies.
The same check from a computer with OpenSSH:
ssh -v -p 22 user@203.0.113.10