Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been using SSH tunnel for a while on Windows (using Putty).

On Windows with putty, it is always fine, but on mac or cygwin, it sometimes prompts the warning message:

open failed: administratively prohibited: open failed

I tried google it though found somebody asking, not find a final answer to solve it.

Is there any one can help me with this?

Thanks very much for any kind of tips!

share|improve this question
If you are port forwarding as a regular user and trying to use a privileged port number <1024 this msg will show. Is this the case? – cormpadre Nov 17 '15 at 15:53

I believe you have disabled TCP forwarding on the server. In your server /etc/ssh/sshd_config make sure that the following line is either not present or commented, otherwise comment it.

AllowTcpForwarding no
share|improve this answer
Just searched and it is AllowTcpForwarding yes – Aw Qirui Guo Sep 1 '13 at 10:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.