Re: channel 3: open failed: connect failed: Connection refused
- From: blueman <NOSPAM@xxxxxxxxxx>
- Date: Sat, 24 Nov 2007 22:58:57 GMT
per@xxxxxxxxxxxx (Per Hedeland) writes:
In article <m2ir3sodwk.fsf@xxxxxxxxxxxxxxxxx> blueman
<NOSPAM@xxxxxxxxxx> writes:
I have done a lot of googling and have not been able to figure out
what the above error message means.
My specific situation is as follows:
Case 1: ssh from linux box to linux box
Screen1: Client> ssh Server -L 9546:127.0.0.1:9546
Screen2: Client> telnet 127.0.0.1 9546
Then on Screen1 (which is now ssh'd into the Server, I see the
following message:
channel 3: open failed: connect failed: Connection refused
There is nothing actually running on port 9546 of the
Server.
Which is exactly what the message is telling you. Your instructions to
ssh/sshd are: When I connect to the local port 9546, forward that
connection to the server and connect to port 9546 there. When you
actually do the connect, you are duly informed that the remote
connection failed because nothing was listening on that port on the
server. You can try e.g. 'telnet localhost 12345', i.e. connect to a
*local* port where nothing is listening - it will give the same
"Connection refused".
Case 2: Same as case 1 but using cygwin from a Windoze machine.
Here I don't get any problems.
Meaning what? You actually get connected to something at port 9546 on
the server even though there's nothing there (that would be quite a
feature)? Or you just don't get an appropriate error message (a bug)?
OK. I assume then the problem is that for some reason the cygwin ssh
client doesn't generate the right error message. I had assumed that
the error message was generated on the server side and therefore
didn't understand the different behavior.
So, presumably there is a problem with the cygwin implementation of
the ssh client???
.
- Follow-Ups:
- Re: channel 3: open failed: connect failed: Connection refused
- From: Per Hedeland
- Re: channel 3: open failed: connect failed: Connection refused
- References:
- channel 3: open failed: connect failed: Connection refused
- From: blueman
- Re: channel 3: open failed: connect failed: Connection refused
- From: Per Hedeland
- channel 3: open failed: connect failed: Connection refused
- Prev by Date: Re: channel 3: open failed: connect failed: Connection refused
- Next by Date: Re: channel 3: open failed: connect failed: Connection refused
- Previous by thread: Re: channel 3: open failed: connect failed: Connection refused
- Next by thread: Re: channel 3: open failed: connect failed: Connection refused
- Index(es):
Relevant Pages
|
|