[CoLoCo] ssh but kind of a mac question so please forgive
Kevin Fries
kfries at cctus.com
Thu Sep 25 02:00:48 BST 2008
Jim,
SSH is just port forwarding. It has no concept of protocols. In short, it's just a dumb translator.
If you want other ports forwarded, forward them.
I have never used the notation you are, instead I use the forward local notation, and I don't have a reference in front of me... So please translate this to what you want. But if I was trying to ssh tunnel 80 and 443 I would enter something like:
ssh -L 80:localhost:5151
-L 443:localhost:5152
<mailto:user at example.com> user at example.com<mailto:user at example.com>
All on one line of course.
HTH
Kevin
Sent from my iPhone
On Sep 24, 2008, at 1:44 PM, "Jim Hutchinson" <jim at ubuntu-rocks.org<mailto:jim at ubuntu-rocks.org>> wrote:
On Wed, Sep 24, 2008 at 1:28 PM, Andrew <<mailto:keen101 at gmail.com>keen101 at gmail.com<mailto:keen101 at gmail.com>> wrote:
I don't think the sudo command really works on a mac. I'm not sure, i could be wrong, but I've had trouble with it in the past. Maybe you just need an administrator account to use it though. If you do, i think it might work ok.
Sudo works. It may be an admin issue but it works.
Okay, this command now works to create an ssh connection and setting up port 80 as the dynamic port.
sudo ssh -i /Volumes/Untitled/id_rsa -D 80 -p 5151 <mailto:user at remote.host> user at remote.host<mailto:user at remote.host>
However, it doesn't allow me to tunnel all (or any) web traffic the way I expected. Port 80 is the port for all normal web traffic (not encrypted like port 443) so my thought was that if port 80 was the forwarded port it would tunnel all web traffic to the ssh server without having to set up a socks proxy. This was my hope. I thought it would be a simple way to tunnel traffic without having to make changes to firefox. Connect to the ssh server and bam! All traffic is tunneled. What an easy way to do things at a coffee shop for example.
However, I clearly have a misconception about something. Any thoughts?
Thanks.
--
Jim (Ubuntu geek extraordinaire)
----
Please avoid sending me Word or PowerPoint attachments.
See <http://www.gnu.org/philosophy/no-word-attachments.html> http://www.gnu.org/philosophy/no-word-attachments.html
--
Ubuntu-us-co mailing list
Ubuntu-us-co at lists.ubuntu.com<mailto:Ubuntu-us-co at lists.ubuntu.com>
Modify settings or unsubscribe at: <https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-co> https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-co
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-us-co/attachments/20080924/d3962b3e/attachment.htm
More information about the Ubuntu-us-co
mailing list