[TriLUG] need help in port forwarding

Jon Carnes jonc at nc.rr.com
Thu Jan 15 12:16:59 EST 2004


On Thu, 2004-01-15 at 12:06, Payal Rathod wrote:
> Hi,
> Thanks a lot for the mails.
> 
> On Thu, Jan 15, 2004 at 10:59:33AM -0500, Jon Carnes wrote:
> > > 
> > > ssh -l payal -L 1080:127.0.0.1:3128 <ip>
> > 
> > Why are you using ssh to do local port forwarding (127.0.0.1) - or was
> > that just an example?
> 
> No, it is real thing. What do I need to put in there?
> I did,
> ssh -l payal -L 1080:<ip address of friend's machine>:3128 < ip address
> of friend's machine >
> 
> 
> But same error,
> channel 2: open failed: connect failed: Connection
> refused
> channel 2: open failed: connect failed: Connection refused
> channel 2: open failed: connect failed: Connection refused
> channel 2: open failed: connect failed: Connection refused
> 
> On his university account I can do it using,
> ssh -l anand -L 1080:localhost:1080 <university ip address>
> 
> 
> What am I missing?
> 
> -Payal

Can you secure shell in without a password?




More information about the TriLUG mailing list