Re: Need help installing SSH tunnel
From: Andrew Schulman (andrex_at_deadspam.com)
Date: 07/26/03
- Next message: Richard E. Silverman: "Re: rsync over ssh using non standard ssh port"
- Previous message: Neil W Rickert: "Re: rsync over ssh using non standard ssh port"
- In reply to: Andre Hinrichs: "Need help installing SSH tunnel"
- Next in thread: Richard E. Silverman: "Re: Need help installing SSH tunnel"
- Reply: Richard E. Silverman: "Re: Need help installing SSH tunnel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 25 Jul 2003 22:39:16 -0400
> channel 3: open failed: connect failed: Connection refused
This could be a problem with the firewall or /etc/hosts.allow on the server.
Do both of these permit all connections from localhost? In my
/etc/hosts.allow, I have
# localhost
ALL : 127.
ALL : xx.xx.xx.xx
where xx.xx.xx.xx is the external IP address (on eth0) of the server. This
permits all connections from localhost there. Yes, I know the second
condition seems strange, because tunneled connections should come over the
loopback interface, on 127.0.0.1. I don't understand this either, but
until I added it, I also got refused connections.
As a diagnostic, have you tried logging in to the server (say, sitting at
its console) and running your ssh and telnet session there? You have to be
able to make it work that way first. If you can, then you know the problem
is elsewhere-- maybe the firewall, or /etc/hosts.allow.
Try turning on debug options in all of your servers, then look in syslog,
auth.log, daemon.log, etc. You'll probably find some clues there.
Good luck!
Andrew.
-- To reply by email, change "deadspam.com" to "alumni.utexas.net"
- Next message: Richard E. Silverman: "Re: rsync over ssh using non standard ssh port"
- Previous message: Neil W Rickert: "Re: rsync over ssh using non standard ssh port"
- In reply to: Andre Hinrichs: "Need help installing SSH tunnel"
- Next in thread: Richard E. Silverman: "Re: Need help installing SSH tunnel"
- Reply: Richard E. Silverman: "Re: Need help installing SSH tunnel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|