以下是SecureCRT在Ubuntu中的常見故障及排除方法:
ping
命令測試。sudo systemctl status sshd # 檢查狀態
sudo systemctl start sshd # 啟動服務
sudo systemctl enable sshd # 開機自啟
sudo ufw disable # 臨時關閉防火墻
sudo ufw allow 22 # 允許SSH端口
/etc/ssh/sshd_config
,添加兼容算法:KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,...
HostKeyAlgorithms ssh-rsa,ssh-dss
重啟SSH服務:sudo systemctl restart sshd
。chmod 600 ~/.ssh/id_rsa
。/etc/ssh/sshd_config
中PasswordAuthentication
是否為yes
,并重啟SSH服務。/var/log/auth.log
,分析具體錯誤信息。若以上方法無效,建議聯系SecureCRT技術支持或提供詳細錯誤日志進一步排查。