阅读时间:1 分钟
0 字

SSH 登录排查表 ​

开始排查前,请确认目标服务器是 Linux 系统,并核对公网 IP、SSH 端口(默认 22)以及账号密码。建议使用 root 或具有 sudo 权限的账号。

使用 Web 在线版时,还需要确认服务器有公网 IP、防火墙没有封禁海外流量(在线版节点位于新加坡),并已在云平台安全组放行 SSH 端口。

报错信息 / 现象可能原因快速解决方案
Process exited with status 1系统架构或位数不支持极目桌面 不支持 32 位系统;确认下载包与 CPU 架构一致。执行 uname -m 和 getconf LONG_BIT 检查。
ssh: subsystem request failedSFTP 服务未启用检查 /etc/ssh/sshd_config 中存在未注释的 Subsystem sftp /usr/lib/openssh/sftp-server,然后执行 sudo systemctl restart ssh。
Connection RefusedSSH 服务未启动或端口错误执行 sudo systemctl status ssh,并确认填写的是正确端口。
Connection Timeout防火墙、安全组或网络链路问题在云安全组和本机防火墙放行对应端口,例如 sudo ufw allow 22/tcp。
Username or password is incorrect凭据错误或 root 登录被禁用核对账号密码,并检查 sshd_config 中的 PermitRootLogin 配置。