首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >尾部误差OpenSSH

尾部误差OpenSSH
EN

Stack Overflow用户
提问于 2016-04-16 19:55:02
回答 2查看 743关注 0票数 2

每个我第一次做海报的人,都想知道我做错了什么:)请帮帮我。因此,我使用尾部,决定使用OpenSSH连接到远程服务器(数字海洋)。生成公共和私有密钥,放置到/root/..ssh/。但是,当我试图连接ssh -v root@11.11.11.11时,这是调试后得到的结果。

代码语言:javascript
复制
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

EN

回答 2

Stack Overflow用户

发布于 2016-04-18 13:26:10

我认为问题就在这里;

代码语言:javascript
复制
FATAL: Failed to determine SOCKS server.
ssh_exchange_identification: Connection closed by remote host

似乎没有服务器侦听IP地址11.11.11.11。

这是一个域地址,您知道有一个ssh服务器监听吗?如果答案是肯定的,我建议不要将根用户用作可以通过ssh登录的用户,因为这是一种安全风险。我认为这是不允许的每一个默认的OpenSSH。

票数 0
EN

Stack Overflow用户

发布于 2016-11-07 21:30:14

使用根终端也有同样的问题,您是否尝试过使用最喜欢的菜单中的常规终端?

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/36668991

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档