kex_exchange_identification:远程主机关闭连接 43.134.20.100 端口 6000 关闭连接

kex_exchange_identification:远程主机关闭连接 43.134.20.100 端口 6000 关闭连接
MacBook-Pro ~ % ssh -oPort=6000 [email protected] -vvv
OpenSSH_9.0p1, LibreSSL 3.3.6
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug2: resolve_canonicalize: hostname 43.134.20.100 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/wangbaohua/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/wangbaohua/.ssh/known_hosts2'
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug3: ssh_connect_direct: entering
debug1: Connecting to 43.134.20.100 [43.134.20.100] port 6000.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: connect to address 43.134.20.100 port 6000: Connection refused
ssh: connect to host 43.134.20.100 port 6000: Connection refused

我家里局域网中有一台linuxPC,我使用frp进行内网穿透,在我使用局域网内ssh链接是可以的,但是使用外网却没办法访问,日志如上,有知道是什么问题吗,我在frp的github上建立了一个issue,有反馈是因为密钥认证的问题

相关内容