Solving SSH “channel 3: open failed: administratively prohibited” error when tunnelling
|
|
A couple of days ago, I’ve encountered this error when I was trying to create a SSH tunnel from my office LAN to a remote server.
After looking for a solution, I found out that the remote SSH server must add “PermitTunnel yes” line in “/etc/ssh/sshd_config” file.
To do that, you need to:
sudo echo "PermitTunnel yes" >> /etc/ssh/sshd_config service ssh restart
The second line is used to restart the ssh service in order to enable the changes.
Tags: linux, ssh, ssh tunneling, sysadmin, telnet, tunnel, ubuntu
Keep updated with the latest posts, be a part of over 1,000 subscribers! :
Subscribe to your email
You might also want to read...
- Howto solve ssh_exchange_identification: Connection closed by remote host error
- Howto Manage Successful Open Source Software Projects Books
- Upgrade Pidgin to solve Yahoo messenger Issue
- strace as a poor man’s SSH keylogger ?
- How to Secure SSH server from Brute-Force and DDOS with Fail2ban ( Ubuntu )
- Limiting the number of connections to SSH Server using Iptables
- Some of my searches interrupted by Google Server Error on April 17


April 23rd, 2013 at 11:46 pm
i believe it is:
service sshd restart
to restart the daemon and enable the changes