jeroenpeeters / docker-ssh

SSH Server for Docker containers ~ Because every container should be accessible
GNU General Public License v2.0
638 stars 89 forks source link

tcp forwarding is not allowed #44

Open andrejska opened 6 years ago

andrejska commented 6 years ago

I have created ssh tunnel: ssh -v -L 1234:localhost:1234 -R 26162:localhost:26162 -p 2222 localhost -o "UserKnownHostsFile /dev/null" When trying to use this tunnel

debug1: Connection to port 1234 forwarding to localhost port 1234 requested.
debug1: channel 3: new [direct-tcpip]
channel 3: open failed: administratively prohibited:
debug1: channel 3: free: direct-tcpip: listening port 1234 for localhost port 1234, connect from 127.0.0.1 port 51457 to 127.0.0.1 port 1234, nchannels 4

for me this looks like tcp forwarding in not allowed