我可以从 LAN 上的所有其他计算机以及外部连接。它可以很好地连接到其他运行 SSHD 的机器。当以冗长的方式尝试 ssh 时,我得到以下读数:
$ ssh -vvv 192.168.1.9
OpenSSH_6.2p2, OpenSSL 1.0.1e 11 Feb 2013
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.1.9 [192.168.1.9] port 22.
debug1: Connection established.
debug1: identity file /home/Steven/.ssh/id_rsa type -1
debug1: identity file /home/Steven/.ssh/id_rsa-cert type -1
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/Steven/.ssh/id_dsa" as a RSA1 public key
debug1: identity file /home/Steven/.ssh/id_dsa type 2
debug1: identity file /home/Steven/.ssh/id_dsa-cert type -1
debug1: identity file /home/Steven/.ssh/id_ecdsa type -1
debug1: identity file /home/Steven/.ssh/id_ecdsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
ssh_exchange_identification: read: Connection reset by peer
Run Code Online (Sandbox Code Playgroud)
知道我可能搞砸了什么吗?我不记得在 SSH 配置文件中进行了更改,只是将一些用户添加到组中以试验权限。即使我尝试不指定帐户(如上所述),它仍会在“本地版本字符串 SSH-2.0-OpenSSH_6.2”处挂起一分钟,然后才给出最终错误。我正在运行 Ubuntu Server 12.04 x86,这是值得的。
归档时间: |
|
查看次数: |
47642 次 |
最近记录: |