Greetings.


I have ssh1 and ssh2 installed on my machines (so
they will be backwards compatable) and I am
have some issues with /etc/hosts.deny &
etc/hosts.allow.

I downloaded SSH1, compiled, installed.  Repeated
those steps with SSH2, but enabled libwrap.  

Problem is, SSH2 & SSH1 are allowing connections from
any host on the net.  Here is a copy of my
/etc/hosts.deny

ALL: ALL
ALL: UNKNOWN


here is my /etc/hosts/allow

ALL : 192.

sshd2:      38.111.111.1
sshd:       38.111.111.1


its in that format.. I run sshd2, but I put sshd
in there in case it needed it when someone using
ssh1 connected -- I know this shouldn't matter and
sshd2 should be correct, but I am trying everything..

Basically I want to allow one IP to connect and
thats is, deny everything else.  I compiled
with ./configure --with-libwrap=/usr/lib/libwrap.a
and hell I even tried  --with-libwrap=/usr/lib  ..
and yes I have libwrap.a and the tcpxx.c file (
I forget the name right now).. anyway when
I was running inetd with active telenet connection
the above worked great for me -- replacing sshd2
with in.telentd of course.. but anyway.. if 
anyone could help my out on this issue I would
be very thankful.

Reply via email to