Re: ssh access

From: Bit Twister (BitTwister_at_localhost.localdomain)
Date: 05/26/03


Date: Mon, 26 May 2003 04:47:18 GMT

On Mon, 26 May 2003 02:15:21 GMT, Scott Blankenship wrote:

> Researching this, it appears as though how sshd gets started during bootup
> is an issue... Here's my ps:

That is normaly how services are started. Other method is throug
xinetd

> # ps -aef | grep ssh
> root 19543 1 0 May23 ? 00:00:00 /usr/sbin/sshd
> root 5644 19543 0 22:09 ? 00:00:00 /usr/sbin/sshd
> scott 32734 5644 0 22:10 ? 00:00:00 [sshd]
>
> So, does this mean sshd is ignoring my hosts.deny and hosts.allow files?

hosts.allow/deny work on the connection to the service, not the
starting/running of the service.

Example:

cat /etc/hosts.allow

in.ftpd: 192.168.11.10
in.rlogind: 192.168.11.1

ftp into my box only allowed for the 192.168.11.10 host
and rlogin only to 192.168.11.1