Alright, now that I've got ssh using tcp wrappers, here's what I want to
do:

Incoming telnet, rsh, rlogin, etc. should be forwarded to ssh rather than
the old-style connections

----
scenario 1:

/etc/inetd.conf:
   telnet stream tcp nowait root /usr/sbin/tcpd /usr/local/sbin/sshd -i
   login stream tcp nowait root /usr/sbin/tcpd /usr/local/sbin/sshd -i

to make telnet and login to use ssh through tcp wrapper

/etc/services:
   telnet           22/tcp
   login            22/tcp

to tell inetd to route incoming login & telnet to the ssh port

(kill -HUP inetd.pid)

But then I get this:

myclient:133# telnet myserver
Trying 128........               #my edit here
telnet: Unable to connect to remote host: Connection refused

------
scenario 2:

I use the standard tcp ports in /etc/services for telnet and login, and
still get Connection refused, which is not surprising.

------
scenario 3:

just like scenario 1, but with hosts.allow edited to allow myhost to use
telnet.


I have a feeling there is something simple I am overlooking.  I'll SUM....

-P.

******************************************************************************
Phil Hurvitz, MFR | GIS Specialist | College of Forest Resources | 355 Bloedel
Box 352100 | University of Washington, Seattle, Washington  98195-2100, USA
 tel: 206.685.8179 | FAX: 206.685.3091 | e-mail: [EMAIL PROTECTED] 
             WWW: http://lobo.cfr.washington.edu/phurvitz/
******************************************************************************

Reply via email to