每个我第一次做海报的人,都想知道我做错了什么:)请帮帮我。因此,我使用尾部,决定使用OpenSSH连接到远程服务器(数字海洋)。生成公共和私有密钥,放置到/root/..ssh/。但是,当我试图连接ssh -v root@11.11.11.11时,这是调试后得到的结果。
root@amnesia:/home/amnesia# ssh root@11.11.11.11
FATAL: Failed to determine SOCKS server.
ssh_exchange_identification: Connection closed by remote host
root@amnesia:/home/amnesia# ssh -v root@11.11.11.11
OpenSSH_6.7p1 Debian-5+deb8u1, OpenSSL 1.0.1k 8 Jan 2015
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 4: Applying options for *
debug1: Executing proxy command: exec /usr/local/lib/connect-socks 11.11.11.11 22
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: permanently_drop_suid: 0
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u1
FATAL: Failed to determine SOCKS server.
ssh_exchange_identification: Connection closed by remote host也许我只是忘了添加一些简单的步骤,这已经困扰了我3天了.^^ :D
发布于 2016-04-18 13:26:10
我认为问题就在这里;
FATAL: Failed to determine SOCKS server.
ssh_exchange_identification: Connection closed by remote host似乎没有服务器侦听IP地址11.11.11.11。
这是一个域地址,您知道有一个ssh服务器监听吗?如果答案是肯定的,我建议不要将根用户用作可以通过ssh登录的用户,因为这是一种安全风险。我认为这是不允许的每一个默认的OpenSSH。
发布于 2016-11-07 21:30:14
使用根终端也有同样的问题,您是否尝试过使用最喜欢的菜单中的常规终端?
https://stackoverflow.com/questions/36668991
复制相似问题