Created
September 16, 2010 23:46
-
-
Save kalendae/583402 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reverse ssh tunneling (needed for facebook app dev) | |
on public machine edit /etc/ssh/sshd_config (centos) | |
add | |
AllowTcpForwarding yes | |
GatewayPorts yes | |
restart sshd service | |
on dev machine behind firewall | |
ssh publicmachinename -v -R :publicmachineport:localhost:localport sleep 99999 | |
eg | |
ssh something.com -v -R :3008:localhost:3000 sleep 9999 | |
-v is for verbose output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment