[CoLoCo] ssh but kind of a mac question so please forgive
Jim Hutchinson
jim at ubuntu-rocks.org
Thu Sep 25 20:16:04 BST 2008
On Thu, Sep 25, 2008 at 11:30 AM, Kevin Fries <kfries at cctus.com> wrote:
>
> (again, split on multiple lines for readability, type all in one line)
> sudo ssh
> -p 5151
> -i /users/jim/.ssh/mykey
> -L 143:mail:143
> -L 25:mail:25
> -L 389:domain:389
> -L 80:intranet:80
> -L 81:sugar:80
> -L 10001:localhost:10000
> jim at example.com
Okay, that almost clears things up. One question: for -L w:x:y bit above,
does it matter what x is? for example, you have -L 80:intranet:80. Does
"intranet" map to anything? In actual practice, what would you actually use
there? I see what you are getting at in the example, but what would a simple
case look like? I'm guess this...
sudo ssh -p 5151 -i /user/../mykey -L 80:localhost:80 jim at example.com
I'm guessing we are saying forward local port 80 to remote port 80 and loop
it through remote localhost. Is that correct or would I use something like
"intranet" to specifically avoid looping through localhost?
Thanks.
--
Jim (Ubuntu geek extraordinaire)
----
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-us-co/attachments/20080925/9aec6faf/attachment.htm
More information about the Ubuntu-us-co
mailing list