RoseLin 在 小白求解,SSH连接报错 中发帖
报错:: Connection refused
已排查问题
1.SSH服务是正常运行的
sudo systemctl status ssh
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/usr/lib/systemd/system/ssh.service; disabled; preset: enabled)
Active: active (running) since Tue 2025-10-21 22:30:40 CST; 1h 5min ago
...
Oct 21 22:30:40 Rose-lin17 sshd\[2112\]: Server listening on 0.0.0.0 port 22.
2.防火墙已关闭
sudo ufw status
Sta...