[CLUE-Tech] ssh port forwarding
Match Grun
match at dimensional.com
Fri Oct 22 21:10:09 MDT 2004
On Fri, 22 Oct 2004 20:21:47 -0600
Greg Knaddison <greg.knaddison at gmail.com> wrote:
> I frequently use ssh -v to see what's going on. Adding more -vv or
> -vvv to the process only adds more debug.
>
> Is that what gave you the "channel 2: open failed: connect failed:
> Connection refused" Any other relevant information it tells you about
> the port forwarding?
>
> Greg
>
> On Fri, 22 Oct 2004 19:11:18 -0600, Mark Gibson <mark at dimensional.com>
> wrote:
> > I'm trying to forward an unprivileged port to another machine:
> >
> > ssh root at vch1p050.xxx.com -L 8080:vch1p050.xxx.com:8080
> >
> > This *used* to work. Now, if I try to access port 8080 from my
> > local machine, I get
> >
> > channel 2: open failed: connect failed: Connection refused
> >
> > I'm certain there is a sever listening on that port on the remote
> > machine.
> >
> > Can someone give me some clues as to what to look for?
> >
I see that you are attempting to connect as root. It is possible that
the other machine does not allow access by root. This is a common sshd
configuration. My machines are setup in this manner. To use ssh on this
machine you must connect as a regular user and su to root.
Match
> > Thanks,
> > Mark
More information about the clue-tech
mailing list