Friday, December 17, 2010

ssh, socks, and selinux

Trying to use ssh's -D option to setup a SOCKS proxy and getting the error below?

channel 3: open failed: administratively prohibited: open failed

If you are running SELinux (e.g. Fedora), you need to run:

# setsebool -P sshd_forward_ports on