好的,所以我最近购买了一个新的域名并设置托管服务。我已经为域启用了SSH,并创建了公钥和私钥。我在mac上使用终端尝试连接。但是,我一直收到这个错误:
ssh_exchange_identification: read: Connection reset by peer
我已尝试解决托管服务提供商的问题,但他们又一次无用。以下是我得到的详细回复:
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /Users/kylebebeau/.ssh/config
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 102: Applying options for *
debug1: Connecting to theinitgroup.com [72.34.33.171] port 22.
debug1: Connection established.
debug1: identity file /Users/kylebebeau/.ssh/id_rsa type 1
debug1: identity file /Users/kylebebeau/.ssh/id_rsa-cert type -1
debug1: identity file /Users/kylebebeau/.ssh/id_dsa type -1
debug1: identity file /Users/kylebebeau/.ssh/id_dsa-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
我迷失在哪里开始对此进行故障排除。我已经读过这个问题了,已经尝试过各种各样的尝试来解决这个问题,但是还没有到达任何地方。任何意见都将不胜感激。
答案 0 :(得分:0)
我明白了。我只需要将我的ip添加到hosts.access文件中。