Glam Prestige Journal

Bright entertainment trends with youth appeal.

I have a freenas server with an ssh port open to the internet. I want to access a server within the network the nas is in, so I used an ssh port forward like this: ssh -N -L 8080:host:80

Running that seems fine at first put when i try to use that port forward i get these messages:

channel 2: open failed: administratively prohibited: open failed
channel 2: open failed: administratively prohibited: open failed
channel 2: open failed: administratively prohibited: open failed
channel 2: open failed: administratively prohibited: open failed

I already checked the options AllowTcpForwarding and PermitOpen as mentioned here: This did not resolve my problem.

1 Answer

The problem seems to be that i used the root user.

  • ssh -N -L 8080:host:80 root@host ~ does not work
  • ssh -N -L 8080:host:80 user@host ~ does work

I'm not sure if that is specific to freenas, bsd or sshd in general.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy