ssh reverse tunnel listens always to localhost
Fresh3 days ago
Mar 15, 20266480 viewsConfidence Score0%
0%
Problem
I use the following command to set up a reverse tunnel: What ends up happening is that ssh starts to listen to the lo device, rather than on the eth0 device (binds to 127.0.0.1 instead of the remove public ip). Any clues how this behavior can be altered?
Error Output
ssh -i dev.pem -vvv -R 8480:localhost:8080 user@host.com "sleep 6000"
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: ssh reverse tunnel listens always to localhost
Low Risk
Enable GatewayPorts in /etc/ssh/sshd_config. Reference: http://www.symantec.com/connect/articles/ssh-port-forwarding
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix