SSH Tunnel Connection Failures
robert_at_sadev.co.za
Date: 01/24/05
- Previous message: Darren Tucker: "Re: openssh upgrade breaks login"
- Next in thread: robert_at_sadev.co.za: "Re: SSH Tunnel Connection Failures"
- Reply: robert_at_sadev.co.za: "Re: SSH Tunnel Connection Failures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 24 Jan 2005 05:51:19 -0800
I'm setting up an SSH tunnel which initally works, but shortly (< 20s)
after the connection is established I start getting error messages
appearing and then the tunnel is no longer active.
The setup is as follows:
[ Machine A ] ----- [ SSH Server ] ----- [ Mail Server ]
10.0.0.3 10.0.0.5 & 192.168.85.1
192.168.85.12
Tunnel is between Machine A and the SSH Server, for the purpose of SMTP
traffic (TCP port 25) to the mail server.
Machine A and the SSH Server can ping each other and the Mail Server
and the SSH server can ping each other (obviously Machine A can't ping
the Mail server because of the different network addresses).
If I use this command on Machine A:
# ssh -x -g -C -L 30001:192.168.85.1:25 10.0.0.5
It gives this error message
channel 2: open failed: connect failed: Connection refused
If I use this command on Machine A:
# ssh -x -g -C -N -T -L 30001:192.168.85.1:25 10.0.0.5
It gives this error message
channel 1: open failed: connect failed: Connection refused
One further detail is that I am passing a lot of SMTP conenctions
through the tunnel (> 3 connections per second).
I'm thinking this is due to some limiting option in SSH, but I can not
find anything.
Any advice would be great :)
- Previous message: Darren Tucker: "Re: openssh upgrade breaks login"
- Next in thread: robert_at_sadev.co.za: "Re: SSH Tunnel Connection Failures"
- Reply: robert_at_sadev.co.za: "Re: SSH Tunnel Connection Failures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|