Linux – SSH Tunnel yielding “administratively prohibited: open failed” after a few hours

linuxsshssh-tunnelunix

i have a dynamic OpenSSH tunel running as :

ssh -N -D '*:1080' user@example.com

(OpenSSH_5.3p1 Debian-3, OpenSSL 0.9.8n 24 Mar 2010)

which runs perfectly for a few hours, or a few days, but begin to randomly drop connections (not 100%, only some) yielding:

channel 1019: open failed: administratively prohibited: open failed

I googled it but can't find nothing more than this message spowning in cause of server misconfiguration denying completly the tunnel, here the tunnel works some hours before dropping a few requests.

Any idea?

Best Answer

I've seen the same message when trying to do a port forward to an unreachable destination:

ssh example.com -L 1337:example.invalid:80

telnet localhost 1337

me@example.com:~$ channel 3: open failed: administratively prohibited: open failed