Ernest,
We run SSH 2.0.12 through tcp_wrapper using inetd, and the key is NOT to
compile ssh with the --with_libwrap option. Instead (again if you go with
the inetd option), compile normally and do the following:
1. Edit the /etc/inet/inetd.conf file to include ssh. Here's how we do
it...
# SecureShell2 (ssh2) is an encrypted Internet service intended to replace
# ftp, telnet, rlogin, and rsh.
#
ssh2 stream tcp nowait root /usr/etc/tcpd /usr/sbin/sshd2 -i
#
The "-i" switch is important. It's necessary when running ssh through
inetd.
2. Edit the /etc/inet/services file to include ssh2...i.e.,
ssh2 22/tcp
3. Do a "kill -HUP <inetd PID>" to reset inetd with the new config info
and try sshing into the box. All should be well. Hope this helps.
Regards,
Chris
###############################################################
# Chris Vandersip #
# Computer Research Specialist/Asst. Sysadmin #
# Dept. of Meteorology #
# Florida State University #
# [EMAIL PROTECTED] (850)644-2522 #
###############################################################
On Wed, 28 Apr 1999, Ernest Cespedes wrote:
>
> I have a Solaris 2.7 machine running TCP Wrapper and would like to
> integrate
> SSH for added security for users logging remotely. In the "configure"
> script
> there's a (--with-libwrap[=PATH]) option where you use to define SSH
> to work with TCP Wrapper, but am not sure which library or path to use.
>
> The tcp wrapper README file sez that there's a libwrap.a file as the tcp
>
> wrapper library, but can't find the file.
>
> Any idea how I can configure SSH to work with tcp wrapper?
>
>
> Thanks,
>
> -ernest
>