分类目录

SSH forward issue: “channel 2: open failed: administratively prohibited: open failed”

不知道是升级了Firefox插件FoxyProxy2.16.1的原故,还是修改了其他的配置,无法通过SSH代理访问,返回下面的错误:

channel 2: open failed: administratively prohibited: open failed

查询了一下,可能是以下几个问题造成的:
1. 服务器上的”sshd_config”文件中的”AllowTcpForwarding yes”和”GatewayPorts yes”没有打开
2. “ssh -D”创建的Socket服务器,错当做http代理服务器用
3. SSH代理是Socket5而不是Socket4

我这里就是因为第三个原因造成的,不过以前的FF插件用作Socket4没有这个问题,难道升级后就出现了?

Refer to:
1. open failed: administratively prohibited” error with ssh dynamic port forwarding
2. 从windows迁移到Ubuntu Linux一例
3. SSH实现Sock5代理

2 comments to SSH forward issue: “channel 2: open failed: administratively prohibited: open failed”

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>