It looks like wrappers was not compiled in.  What configuration options
did you use?  configure does not usually include -I/usr/local/include or
-L/usr/local/lib in the build options so you may need to copy libwrap.a
and tcpd.h to your build directory.

Jon

On Wed, Jun 13, 2001 at 11:47:18AM -0400, Manager Account scribbled:
> Thanks for your suggestions, although I am still stuck; let me go into some more 
> detail of my configuration:
> 
> I am running sshd2 on a system called 'server'. I am trying to disable ssh 
> connections from a system called 'client'. (Both are running Solaris 7.)
> 
> A sample session:
> 
> -----
> 
> server# grep client /etc/hosts.allow
> server# grep ssh /etc/hosts.allow
> server# grep client /etc/hosts.deny
> ALL:client
> server# grep ssh /etc/hosts.deny
> sshd:ALL
> sshd2:ALL
> server# grep telnet /etc/inetd.conf
> telnet        stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd
> server# strings /usr/local/sbin/sshd2 | grep '\/etc\/hosts'
> /etc/hosts.equiv
> Accepted for %.100s [%.100s] by /etc/hosts.equiv.
> server# ldd /usr/local/sbin/sshd2
>            libpam.so.1 =>   /usr/lib/libpam.so.1
>            libdl.so.1 =>    /usr/lib/libdl.so.1
>            libcurses.so.1 =>        /usr/lib/libcurses.so.1
>            libsocket.so.1 =>        /usr/lib/libsocket.so.1
>            libnsl.so.1 =>   /usr/lib/libnsl.so.1
>            libsec.so.1 =>   /usr/lib/libsec.so.1
>            libm.so.1 =>     /usr/lib/libm.so.1
>            libc.so.1 =>     /usr/lib/libc.so.1
>            libmp.so.2 =>    /usr/lib/libmp.so.2
>            /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1
> server#
> 
> -----
> 
> client$ telnet server
> Trying 123.123.123.123...
> Connected to server.
> Escape character is '^]'.
> Connection closed by foreign host.
> client$ ssh2 server
> grpoobah's password: [******]
> Authentication successful.
> [...]
> 
> -----
> 
> server# tail -1 /var/log/syslog
> Jun 13 11:45:00 server in.telnetd[3047]: refused connect from client
> server#
> 
> -----
> 
> Also, I should note that ssh-2.4.0 was built from source on client and converted 
> to a Solaris package for installing on server. (I doubt this matters as it works 
> all too well.)
> 
> Scott: I couldn't find any mention of a syslog service name in 
> /etc/ssh2/ssh2_config
> 
> -----
> 
> Thank you for your help,
> ~ Jared

-- 
=========+=========+=========+=========+=========+=========+=========+
Jonathan Burelbach                               [EMAIL PROTECTED]
Unix Systems Administrator                  [EMAIL PROTECTED]
NIH/CIT/DCSS/SOSB;12 South Dr.;Bldg 12B/2N207;Bethesda  (301) 496-7372

Reply via email to