I noticed that starting sshd from command line with the verbose option (whether it
be on command line or in sshd2_config)  causes the daemon to connect once, spit out
a bunch of output, and then die when the client disconnects.

As for inetd, you must place the the -i option on the sshd. So /etc/inetd.conf
would look like this:

# ssh daemon
ssh     stream  tcp     nowait  root    /usr/local/bin/sshd2    sshd2 -i

and you have to put it in /etc/services:

ssh             22/tcp

Finally, restart the inetd process.

kill -HUP `/usr/bin/ps -e | /usr/bin/grep inetd | /usr/bin/sed -e ' s/^  *//' -e
's/ .*//'`

that shoud do it.

    -bk

[EMAIL PROTECTED] wrote:

> Are you starting sshd from the command line or from a script?
> Also, are you using any options?

> -AC
>
> [EMAIL PROTECTED] enscribed:
> > I just compiled and installed the most recent, 2.XXX, version of SSH
> > but I'm having a problem with sshd.
> >
> > When I start sshd it will only handle 1 request and then dies when
> > that one session is terminated.
> >
> > I tried starting sshd through inetd but when  the client connects
> > you get a protocol error and the server disconnects.
> >
> >
> > The environment is Solaris/x86 2.6.
> >
> > Thanks
> >
> >
> >
> >
>
> --
> The total intelligence on            (\`--/') _ _______ .-r-.
> the planet is constant;               >.~.\ `` ` `,`,`. ,'_'~`.
> it is just the population            (v_," ; `,-\ ; : ; \/,-~) \
> that is growing                       `--'_..),-/ ' ' '_.>-' )`.`.__.')
> stripes at tigerlair dot com         ((,((,__..'~~~~~~((,__..'  `-..-'fL
>
>   ------------------------------------------------------------------------
> Received: from yandrny1-bh.yr.com ([152.146.3.3]) by smtpeu3.eu.yr.com with SMTP
>   (IMA Internet Exchange 3.11) id 0001056B; Thu, 3 Jun 1999 15:05:52 -0400
> Received: (from root@localhost) by yandrny1-bh.yr.com (8.8.8/8.6.11) id PAA12924
> for <[EMAIL PROTECTED]>; Thu, 3 Jun 1999 15:05:45 -0400 (EDT)
> Received: from lohi.clinet.fi(194.100.0.7) by yandrny1-bh.yr.com via smap (4.1)
>         id xma012478; Thu, 3 Jun 99 15:05:10 -0400
> Received: (from majordom@localhost)
>         by lohi.clinet.fi (8.9.1/8.9.0) id RAA11598
>         for ssh-outgoing; Thu, 3 Jun 1999 17:40:47 +0300 (EEST)
> X-Authentication-Warning: lohi.clinet.fi: majordom set sender to
> [EMAIL PROTECTED] using -f
> Received: from shell13.ba.best.com ([EMAIL PROTECTED] [206.184.139.144])
>         by lohi.clinet.fi (8.9.1/8.9.0) with ESMTP id WAA24054
>         for <[EMAIL PROTECTED]>; Mon, 31 May 1999 22:18:35 +0300 (EEST)
> Received: (from stripes@localhost)
>         by shell13.ba.best.com (8.9.3/8.9.2/best.sh) id MAA12988;
>         Mon, 31 May 1999 12:15:45 -0700 (PDT)
> Message-Id: <[EMAIL PROTECTED]>
> Subject: Re: Problems with sshd
> In-Reply-To: <7it8k0$[EMAIL PROTECTED]> from "[EMAIL PROTECTED]" at "May 31, 99
> 06:01:36 am"
> To: [EMAIL PROTECTED]
> Date: Mon, 31 May 1999 12:15:45 -0700 (PDT)
> Cc: [EMAIL PROTECTED]
> Reply-to: [EMAIL PROTECTED]
> From: [EMAIL PROTECTED]
> X-Mailer: ELM [version 2.4ME+ PL38 (25)]
> MIME-Version: 1.0
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: 7bit
> Sender: [EMAIL PROTECTED]
> Precedence: bulk

Reply via email to