I have a MiniPC running Ubuntu 22.04 in a recreation-home. After a power loss, the Host answers ping, however with SSH I get "connection refused" error. Why does it lock the port or disable SSH server, even though the system seem to be booted fine? That house is 300km away from me and now I have to go there because of this stupid behavior
ssh -vvv hhsl@192.168.20.202
OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f 31 Mar 2020
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_canonicalize: hostname 192.168.20.202 is address
debug2: ssh_connect_direct
debug1: Connecting to 192.168.20.202 [192.168.20.202] port 22.
debug1: connect to address 192.168.20.202 port 22: Connection refused
ssh: connect to host 192.168.20.202 port 22: Connection refused
ssh -vvv user@host...
, where-vvv
stands for much more verbose :) If you are using encrypted home, please read: SSH is allowing remote connections only after a local login to the server. – pa4080 Sep 18 '22 at 12:21