Operating System - HP-UX
1826354 Members
3917 Online
109692 Solutions
New Discussion

Re: standalone sshd & hosts.allow

 
SOLVED
Go to solution
Mihails Nikitins
Super Advisor

standalone sshd & hosts.allow

Hi,

I've just installed two products

T1471AA A.03.50.000 HP-UX Secure Shell
TCP-WRAPPERS B.11.11.01.001 TCP-WRAPPERS special release

I want standalone sshd to be authenticated via /etc/hosts.allow

I put a string in /etc/hosts.allow like
sshd:10.10.10.10
but it is not checked.

Thanks and points in advance for ideas!

BR,
Mihails




KISS - Keep It Simple Stupid
2 REPLIES 2
T G Manikandan
Honored Contributor
Solution

Re: standalone sshd & hosts.allow

Try also creating /etc/hosts.deny

Try this way

#/etc/hosts.deny

sshd : ALL
#/etc/hosts.allow

sshd: 10.10.10.10


REvert
Mihails Nikitins
Super Advisor

Re: standalone sshd & hosts.allow

The problem was in the last line of hosts.allow
ALL:ALL:deny

This is used for programs that may not read hosts.deny. This line works fine on my other hosts. Under HP-UX it seems to be treated as ALL:ALL. After removing the line everything is OK.

Thanks!

BR,
Mihails
KISS - Keep It Simple Stupid