Not sure; but I substitute "localhost" where you have "computerA".  I also use
the -g option, though I don't know that's relevant in the present case or not.

Using the -v option when you fire off the tunnel can be educational.

HTH,
-m


Charles Richardson wrote:
> 
> Greetings
> 
> I have been trying to learn how to use ssh but cannot seem to get the following 
>processes to work.
> 
> In trying to understand how the "-R" option works.  I've tried the following:
> 
> On computer A:
>  $ ssh -R 2025:computerA:23 computerB
> 
> Then on computer B:
>   $ telnet localhost 2025
> 
> expecting to be able to telnet -> 2025 on Compter B -> ssh tunnel --> ComputerA port 
>23
> and get a telnet login prompt.
> 
> I simply get the message:  rejected by remote
> 
> What am I doing wrong?
> 
> --
> 
> Sincerely,
> 
>   Charles Richardson, PhD
>   San Francisco, CA
>   email: [EMAIL PROTECTED]
>   tel:   415.566.2447
>   URL: http://home.pacbell.net/crchrdsn [under construction]
>        contractor says its too wet and foggy in the Sunset to work on
>        it today.  Hmmm ... I suspect he's working on other jobs.

-- 
Michael Jinks, IB // Technical Entity // Saecos Corporation
"No one speaks English and everything's broken."  -- T. Waits
"Tom Waits would have made a decent sysadmin."  -- M. Jinks

Reply via email to