SecureCRT 在 Linux 下连接失败,原因通常可以归为以下几类。你可以按顺序排查:
ping 目标IP
telnet 目标IP 22
systemctl status firewalld
iptables -L
在被连接机器上检查:
systemctl status sshd
若未运行:
systemctl start sshd
systemctl enable sshd
查看:
cat /etc/ssh/sshd_config
常见问题:
PermitRootLogin noPasswordAuthentication noAllowUsers 限制了用户修改后重启:
systemctl restart sshd
如果是 Linux 版 SecureCRT:
ldd securecrt
~/.vandyke/SecureCRT/
请补充以下信息,我可以更精准判断:
如果你愿意,可以把报错截图或文字发出来。