我在Windows Subsystem for Linux上运行Ubuntu 18.04 LTS。
ssh最近停止了我的Ubuntu安装。我能想到的唯一变化是Windows更新,然而从那时起,我新安装了几次Ubuntu,但都没有用。有趣的是,我仍然能够使用Putty通过ssh连接到远程服务器。
下面是来自控制台的详细调试流:
user@PC:~$ ssh -vvv user@example.com
OpenSSH_7.6p1 Ubuntu-4, OpenSSL 1.0.2n 7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "example.com" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to example.com [111.11.11.11] port 22.
debug1: connect to address 111.11.11.11 port 22: Permission denied
debug1: Connecting to example.com [111.11.11.21] port 22.
debug1: connect to address 111.11.11.21 port 22: Permission denied
ssh: connect to host example.com port 22: Permission denied很抱歉,如果这是一个重复的问题,但我还没有找到任何其他线程有这个问题。
发布于 2019-01-08 17:08:36
比斯瓦普里奥是对的!
将防火墙设置重置为默认值(我从未设置过任何自定义规则,因此这不是问题)之后,我能够再次建立ssh连接。
https://stackoverflow.com/questions/54080120
复制相似问题