"open failed: administratively prohibited" error with ssh dynamic port forwarding

I just experienced the following error message, when I tried to use dynamic port fowarding with a server that I had used for the same purpose a dozen times before:
channel 3: open failed: administratively prohibited: open failed
The strange thing was that I already used the given server for dynamic port forwarding without any problems. In the server's auth.log I've found this:
Oct 13 19:36:41 myserver sshd[8584]: error: connect_to 0.0.0.1 port 80: Invalid argument
Oct 13 19:36:41 myserver sshd[8584]: error: connect_to 0.0.0.1 port 80: failed.
The reason for the error message was the SOCKS proxy setup in my browser (FF 3.x): changing the SOCKS version to 5 made the problem disappear. It seems that the daemon in OpenSSH_4.3p2 Debian-9etch2 accepts now only SOCKSv5 connections from clients. Shock

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Thanks!

I doubt I'd have worked this out for myself, so thanks for highlighting this change as a cause of 'open failed: administratively prohibited' messages. I guess should check changelogs before I upgrade...