channel 1: open failed: administratively prohibited: open failed
But essentially it means the port you are trying to tunnel into on the remote machine cannot be opened
To debug the issue
- If you have access to the remote machine check /var/log/secure to get more information on error
- You could try ssh tunnel in verbose mode with -v option
- Try with a different port number on the remote host just to test - some ports are reserved
- If the error in the secure log was cannot resolve host name - it means you need to restart your network service or interfaces - it could be due to dns server issues
- restart sshd on the remote server - make sure port forwarding is enabled in your ssh config - there are plenty of resources on the net that will explain this
No comments:
Post a Comment