Skip to content

SSH 连接失败:exit code 255(疑似 DeepSeek TUI shell 沙箱 TCP 22 出站阻断) #1829

@fodudu1226

Description

@fodudu1226

SSH 连接失败:exit code 255(疑似 DeepSeek TUI shell 沙箱 TCP 22 出站阻断)
环境
客户端:Windows 10,DeepSeek TUI v0.8.39 内置 shell
目标:ubuntu@43...:22(腾讯云新加坡)
密钥:~/.ssh/sg_server,本地终端连接正常
症状
ssh -i ~/.ssh/sg_server -o StrictHostKeyChecking=no -o ConnectTimeout=10 ubuntu@43.
..:22 "echo OK"
→ exit code 255,无任何输出
scp 同样 exit 255。
已排查
网络可达:✅ ping 通了(55ms)
密钥存在:✅ dir 确认
密钥正确:✅ 用户本地终端正常登录
多把密钥:✅ sg_server + openclaw.pem 均复现
认证失败:❌ 不是——认证失败会 exit 1 + Permission denied
推断
exit 255 = TCP 连接超时。ping 通但 TCP 不通 → shell 沙箱阻断了 22 端口外连。
期望
确认是否有意限制
若有,能否开放白名单
短期 workaround:用户用 Web 控制台操作

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv0.8.65Targeting v0.8.65

    Projects

    Status
    Backlog

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions