下面我分 Windows 上使用 SecureCRT 连接 Linux 服务器 和 Linux 上使用 SecureCRT(如有) 两种常见情况说明。
sshd)在 Linux 上执行:
systemctl status sshd
如果没开:
sudo systemctl start sshd
sudo systemctl enable sshd
查看 IP:
ip addr
# 或
hostname -I
ssh-keygen
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
.pub 或 .ppk)SecureCRT 官方主要在 Windows / macOS 提供; Linux 用户一般用:
示例:
ssh user@192.168.1.100
❌ 连接超时
✅ 检查防火墙 / IP / 网络
ping 192.168.1.100
❌ 拒绝连接
✅ SSH 服务未开或端口不对
❌ 中文乱码
✅ SecureCRT:
Session Options → Terminal → Appearance → Character encoding → UTF-8
如果你愿意,可以告诉我:
我可以直接帮你一步步配好 ✅