Are you trying to run it from inetd with tcpd? Or did you just build it
with libwrap support and run it as a daemon? It is strongly advised that
you run it as a daemon, and that you build the daemon with libwrap
support.

To build with libwrap support, run ./configure --with-libwrap=/path where
/path is the path to your libwrap.a file. I have to use the directory
(e.g. --with-libwrap=/usr/local/lib) and others say they have to use the
entire filename (--with-libwrap=/usr/local/lib/libwrap.a) and then add the
daemon to your hosts.allow and hosts.deny file   Note that the service
name in the hosts.allow/deny files must match the name of the daemon as it
is launched. e.g. If it's called sshd2, then the service name must be
sshd2 - if it's sshd then the service name is sshd.

--
Gregor Mosheh
[EMAIL PROTECTED]
Systems Admin, Humboldt Internet
707.825.4638


On Fri, 31 Mar 2000, [iso-8859-1] Andr�s wrote:

> Hello.
> 
> I ran sshd as a normal daemon, and everything went well.
> 
> Now I've run it under tcpd and everytime I try to connecto to it I receive:
> 
> Protocol error: 'Packet had invalid structure.'
> 
> What's going wrong?
> 
> Thanks.
> 
> 

Reply via email to