ssh_exchange_identification:连接被远程关闭

ssh_exchange_identification:连接被远程关闭

我希望能够从家庭电脑通过 ssh 进入位于限制性防火墙后面的工作电脑。

工作电脑openssh版本

OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g  1 Mar 2016

我在工作电脑上使用此命令: ssh -p443 -fNTR 0.0.0.0:6333:localhost:443[电子邮件受保护]

我在家庭电脑上使用这个命令:

ssh -v -p 6333 本地主机

家庭电脑的输出:

OpenSSH_7.3p1, OpenSSL 1.0.2j  26 Sep 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to localhost [::1] port 6333.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: key_load_public: No such file or directory
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: 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_7.3
ssh_exchange_identification: Connection closed by remote host

工作电脑响应家庭电脑:

connect_to localhost port 443: failed.

答案1

你可以看到相关的问题,因为这是最近的错误,我有同样的问题没有退出。我不知道你的路由器配置是否错误或类似的问题,但不适合我。

查看相关问题

Redhat 中报告的错误

Bug 内核 bugzilla

相关内容