我无法理解文件PermitTunnel
中的选项sshd_config
。此选项与AllowTcpForwarding
? 拥有PermitTunnel no
似乎对连接到服务器的隧道没有任何影响。
男人这样说PermitTunnel
:
Specifies whether tun(4) device forwarding is allowed. The argument must be yes,
point-to-point (layer 3), ethernet (layer 2), or no. Specifying yes permits both
point-to-point and ethernet. The default is no.
Independent of this setting, the permissions of the selected tun(4) device must allow access
to the user.
但这对我来说意义不大。