Quote:
Originally posted by tarballedtux
()correct if this command is correct to create an SSH tunnel to host FORD that has a local port listening on 3000
ssh -L 3000:FORD:22
|
Correct.
Quote:
Also would this only allow me to communicate with host FORD or would it forward to any webserver I needed.
|
Only FORD, cuz you have to tunnel to a specific address. Some examples
here. Btw, you need to make sure Sshd runs on FORD and you have a valid account there.
*OT1, but another fine piece of work to achieve encrypted port fwd'ing, when both hosts aren't running ssh (but you got an account on both) is
stunnel which uses SSL.
*OT2, if this really was about firewall piercing & proxying out to other servers you should rephrase your question :-]
HTH somehow.