我在休闲之家有一台运行 Ubuntu 22.04 的 MiniPC。断电后,主机响应 ping,但使用 SSH 时出现“连接被拒绝”错误。为什么它会锁定端口或禁用 SSH 服务器,即使系统似乎启动正常?那所房子离我 300 公里远,现在我不得不因为这种愚蠢的行为去那里
ssh -vvv [email protected]
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