[CoLoCo] ssh but kind of a mac question so please forgive

Jim Hutchinson jim at ubuntu-rocks.org
Wed Sep 24 04:37:19 BST 2008


On Mon, Sep 22, 2008 at 4:04 PM, Paul Hummer <paul at eventuallyanyway.com>wrote:

> > Bonus question: if you forward local port 80 to the ssh server, would
> > that essentially encrypt all local web traffic without setting up a
> > socks proxy?
> >
>
>
> Yes, in fact, that's how many people use wireless securely without a vpn.


Okay, this didn't work. When I do

ssh -D 8080 -p 5151 user at host.com

It connects just fine and pulls in the private key from .ssh, asks for the
key's password and then authenticates. This works. However, when I do

sudo ssh -D 80 -p 5151 user at host.com

It asks for the sudo password (have to use sudo for privileged ports) then
tries to make the connection but returns an error about permission denied.
Is there any reason why using sudo would prevent it from using the proper
key? It doesn't even prompt for the key's password. I also tried using

sudo ssh -L 50 ...

But it didn't like that. It said something about improver or invalid local
port. Anyway, any ideas?

@Scott - thanks for the info. I get it and will give it a try.

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/20080923/fc63c897/attachment.htm 


More information about the Ubuntu-us-co mailing list