All things technology, including programming and methodologies.
Wednesday, April 6, 2016
setting up ssh tunnel
Just so I don't forget in my old age. Here is how to setup an ssh tunnel:
ssh user@remote -L 8081:remote:8080 -N
this sets up a tunnel that forwards all calls to localhost:8081 to remote:8080. If you want the command to give you back your terminal session you need a -f flag
No comments:
Post a Comment