大家好,我正在使用Ubuntu服务器,我希望允许通过世界上的任何网络访问。
ssh user@router_ip -v
以下是我们的回应:
OpenSSH_8.6p1, LibreSSL 3.3.6
debug1: Reading configuration data /Users/my-mac-user/.ssh/config
debug1: Reading configuration data /Users/my-mac-user/.colima/ssh_config
debug1: /Users/my-mac-user/.ssh/config line 15: Applying options for *
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 *
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to router_ip [router_ip] port 22.
发布于 2023-05-27 03:58:48
在连接到一个与以前的网络具有不同的本地网关地址的新网络之后,我也遇到了同样的问题。我有一个防火墙规则,它只允许来自192.168.0.0/24等特定ip地址的连接,但是新的本地网络是一个不同的ip范围,例如10.0.0.1/16。看看主机上的ALLOW
& DROP
防火墙规则,看看本地ip地址是否在ALLOW
范围规则之内,而不是在DROP
规则中。
https://askubuntu.com/questions/1450936
复制相似问题