小编Jun*_*yuk的帖子

SSH 不只从 Ubuntu 响应

我们有几个安装了 Windows 和 Ubuntu 的桌面。但是,其中一些无法仅从 Ubuntu 连接到某些服务器。以下是当前状态的摘要:

  • 无法从 Ubunutu (14.04, 16.04) 连接到服务器
    • 如果用户名/密码错误,则会显示“权限被拒绝”
    • 如果用户名/密码正确,它会卡住一个小时并给出“Broken Pipe”错误。
    • 服务器日志显示连接已获批准,但没有终端历史记录。
  • 可以从 Windows 连接到服务器(使用腻子)
  • 可以从 Ubuntu 连接到其他服务器
  • 可以从Ubuntu“ping”它们

以下是输出 ssh -vvv username@host

username@host's password: 
debug3: send packet: type 50
debug2: we sent a password packet, wait for reply
debug3: receive packet: type 52
debug1: Authentication succeeded (password).
Authenticated to host ([host_ip]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Requesting no-more-sessions@openssh.com
debug3: …
Run Code Online (Sandbox Code Playgroud)

ssh ubuntu

6
推荐指数
1
解决办法
6306
查看次数

标签 统计

ssh ×1

ubuntu ×1