C. Vandersip writes:
  : Greetings John,
  : 
  : First, let me say thanks for your well-written ssh installation
  : documentation.
  : 
  : My first problem (and the two might be related) deals with
  : tcp_wrappers/ssh2.0.11 compatibility.  Tcp_wrappers is not logging the ssh
  : connections.  I compiled ssh using --with-libwrap and I've edited
  : inetd.conf to include the following:
  : 
  : #
  : ssh2    stream  tcp     nowait  root    /usr/etc/tcpd
  : /usr/sbin/sshd2
  : #

Tcp-wrappers ain't logging your connection, because this line means,
that everytime a connection comes to the ssh-port, it starts the
daemon to the background to handle the connection. This daemon,
however, doesn't die when the connection has ended, because sshd2
isn't in inetd-mode. You have to supply sshd2 the "-i" command-line
parameter. So, your inetd.conf line would look like this:

    ssh2    stream  tcp     nowait  root    /usr/etc/tcpd   /usr/sbin/sshd2 -i

Now sshd2 is started in inetd-mode.

  : Second, each time I exit a ssh session, it hangs on "logout", creating a
  : defunct process on the remote machine.  I've read that there might be
  : problems (bugs?) in ssh2.x.x that cause this when compiled with libwrap.
  : Is this the case?

This is a known problem with sshd2 compiled with libwrap, but we've
yet been unable to reproduce this problem. It would be _very_ nice if
someone could send a detailed report on the configuration and, if
possible, a debugger backtrace on the situation (by attaching to the
hung process as root).

It would help much.

-- 
[[EMAIL PROTECTED]           --  Sami J. Lehtinen  --           [EMAIL PROTECTED]]
[work:+358 9 43543214][gsm:+358 50 5170 258][http://www.iki.fi/~sjl]
[SSH Communications Security Ltd.                http://www.ssh.fi/]

Reply via email to