Redirection issue

From: Omar the Tentmaker (omar_at_allwrong.com)
Date: 07/30/04


Date: Fri, 30 Jul 2004 01:37:32 +0000 (UTC)


Question:

I'm trying to get redirection working between a couple of Linux
boxes and having trouble. I've been beating my head against
google but either my problem is somewhat unique (unlikely) or
my search terms are wanting (likely).

Basically, I have redirection sort-of working; using rsa
keys and the command

#root@client> ssh -l user -i ./my_rsa -R 5555:client:23 host

I can get redirection working fine... from the host's "localhost"
address! However, using the machine's ip address on the network
(or its hostname) will get me a "Connection refused" message.

---
Wrong Avenue:
I thought perhaps it was a firewall issue, but it's not:
 - I get the same result from both the outside world and on the
   host server itself (telnet localhost 5555 vs. telnet host
   5555 or telnet ip.add.re.ss 5555)
 - I attached a simple socket reader to port 5555 and can then
   make a tcp connection from both the outside world and from the
   host itself (to its actual network ip or hostname)
---
Versions:
Client has: OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004 
            Linux client 2.4.26 #6 Mon Jun 14 19:07:27 PDT 2004 
             i686 unknown unknown GNU/Linux
Host has: sshd version OpenSSH_3.5p1 
          Linux host 2.4.20-24.9 #1 Mon Dec 1 11:35:51 EST 2003 
           i686 i686 i386 GNU/Linux
---
Anyone have a clue or two they could bestow upon me?
Hope I'm not missing anything obvious.
Cheers,
-Omar
-- 
"If you water incompetence, what grows out of it?"  
                                      --Rick Aristotle Munarriz 


Relevant Pages

  • Expect, telnet, frozen console.
    ... telnet into remote host, provide username/password, surrender control to ... This script will eventually be tied into /etc/inittab so that it ... app called 'loe' which presents a login screen in 80x24 ASCII a la ...
    (comp.lang.tcl)
  • Re: rlogin
    ... login the server using telnet, rsh, rlogin and also ssh. ... Telnet does not provide any protection. ... We have only 1 host system. ...
    (comp.unix.aix)
  • Re: unable to send outbound mail using outlook
    ... telnet moses.stphilipchurch.com 25 ... Connecting To moses.stphilipchurch.com...Could not open connection to the ... on port 25: Connect failed ... Connecting To 66.126.247.115...Could not open connection to the host, ...
    (microsoft.public.exchange.admin)
  • Re: No route to host
    ... route to host" is returned. ... three telnet tests to try and the results are below. ... Connection closed by foreign host. ...
    (comp.mail.sendmail)
  • Re: How do you telnet from 1 host to another using Telnet Module
    ... from my limited experience with using ... this module I have managed to successfully telnet from the host that my ... telnet session from the host where my script executes from and not from ...
    (comp.lang.perl.modules)