From: Sylvain Robitaille <syl@alcor.concordia.ca>
Subject: Re: ssh whith tcp wrapper
Date: 25 Feb 2003 20:06:07 GMT [thread overview]
Message-ID: <slrnb5nj5f.679a.syl@alcor.concordia.ca> (raw)
In-Reply-To: b3g1an$al9$1@canarie.caspur.it
Giovanni Caramia wrote:
> I have deleted the line in inetd.conf. Sshd is now running as a
> standalone daemon and it works, but if in hosts.deny file there is
> "ALL: ALL" instead of "#ALL: ALL" I receive always the same message:
>
> ssh_exchange_identification: Connection closed by remote host
Yes, of course. Hosts.deny defines what connections will be denied, and
you're defining that all connections should, by default, be denied.
This is good, and you want to keep that. Now, for Ssh to work, you'll
need to have an sshd entry in hosts.allow, (check this, I have
Tcp_Wrappers configured so I need maintain only the hosts.allow file,
and I keep "deny" entries there as well, so the syntax I use may be
different than the syntax you need to use):
sshd :ALL@localhost \
ALL@.domain.com
You want to refer to the hosts_access(5) and perhaps hosts_options(5)
manual pages for additional information.
I hope that helps...
--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca
Systems analyst Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
prev parent reply other threads:[~2003-02-25 20:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-24 7:29 ssh whith tcp wrapper Giovanni Caramia
2003-02-24 14:48 ` Sylvain Robitaille
2003-02-25 15:13 ` Giovanni Caramia
2003-02-25 20:06 ` Sylvain Robitaille [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox