当前位置:   article > 正文

ssh: sys_tun_open: /dev/tun0 open failed: No such file or directory 问题的解决

tunnel device open failed. could not request tunnel forwarding.

记录一下纪念浪费的3个小时,在新的Mac上发现之前的tunnel脚本都不能用了,总是提示错误:
....
sys_tun_open: /dev/tun0 open failed: No such file or directory
....
Tunnel device open failed...
Could not request tunnel forwarding...

对照了之前的笔记本,发现原来是不必要的把 /etc/ssh_config 里这行启用了:
Tunnel yes

恢复成初始设置后恢复:
# Tunnel no

ssh_config的说明


Tunnel Request tun(4) device forwarding between the client and the server. The
argument must be "yes", "point-to-point" (layer 3), "ethernet" (layer 2), or
"no". Specifying "yes" requests the default tunnel mode, which is
"point-to-point". The default is "no".
作者: 车东 发表于:2013-02-05 15:02 最后更新于:2013-02-05 15:02
版权声明:可以转载,转载时请务必以超链接形式标明文章 的原始出处和作者信息及 本版权声明

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/222254
推荐阅读
相关标签
  

闽ICP备14008679号