我无法从我的 Ubuntu 安装之一 ssh 进入我的服务器,但是如果我使用另一个 Ubuntu 安装或 Windows 操作系统与 SSH 连接工作顺利。
所以我的 Ubuntu 安装之一出现问题,我正在努力寻找确切的问题。
我试过重新安装 ssh/openssh-client/openssh- /ssh。
这是详细输出中的几行:
ssh username@MYSERVERADDRESS -v
debug1: Offering RSA public key: /home/user/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: Authentication succeeded (publickey).
Authenticated to MYSERVER ([MYSERVERADDRESS]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
packet_write_wait: Connection to MYSERVERADDRESS port 22: Broken pipe
Run Code Online (Sandbox Code Playgroud)
从谷歌搜索中尝试了许多不同的解决方案,但从未奏效。删除了 .ssh 目录,删除了 /etc/ssh/ssh_config (使用默认值再次自动创建)。
还有一个信息是问题不是来自服务器端,因为我可以使用另一个操作系统和相同的网络通过 SSH 连接到服务器。
更新 :
防火墙已禁用
服务器托管在云上
我有 …