Hi Jon,
Don't run it from inetd, it doesn't run correctly unless you make the
authorization keys shorter and that's a security risk. If you are looking
to have it protected by tcp-wrappers then compile it into the sshd binary
and run it from your rc startup files.
Carl
On 25-Jan-00 Jon Earle wrote:
> Geets!
>
> I'm working with ssh v2.0.13 on RedHat 6.1. I've having a problem
> whereby
> I can run it as a daemon, and successfully connect from a remote host,
> but
> if I run it in inetd, I get the following on the client:
>
> Disconnected; protocol error (Protocol error: packet too long:
> 2132309775.).
>
> and from the server logs:
>
> Jan 25 00:39:41 kronos sshd2[1071]: connection from "x.x.x.x"
> Jan 25 00:39:41 kronos sshd2[1071]: Daemon is running.
> Jan 25 00:39:56 kronos sshd2[1071]: User jearle, coming from
> remote.host.ca, authenticated.
> Jan 25 00:39:56 kronos sshd2[1071]: Remote host disconnected: Protocol
> error: packet too long: 2132309775.
> Jan 25 00:39:56 kronos sshd2[1071]: Protocol error: 'Protocol error:
> packet
> too long: 2132309775.'
>
> I though maybe my passphrase was too long (20 chars) so I cut it down
> to
> 12; same problem. Odd thing is, I had it working through inetd (albeit
> sporadically) earlier today. I had one ssh session up and running, but
> when I tried to get a second one going, no dice. It never worked after
> that.
>
> I compiled 2.0.13 9thinking maybe there was something wrong with it) on
> another box (running redhat 5.1) and it can take ssh connections from
> other
> remote hosts without hiccup. The config files are the same between the
> two
> ssh server boxes.
>
> Ideas?
>
> Cheers!
> Jon
> -----------------------------------------------------------------
> Jon Earle (613) 612-0946 (Cell)
> HUB Computer Consulting Inc. (613) 830-1499 (Office)
> http://www.hubcc.ca 1-888-353-7272 (Within Canada/US)
>
> "God does not subtract from one's alloted time on Earth,
> those hours spent flying." --Unknown
------------------------------------------------------------------------
E-Mail: Carl J. Nobile <[EMAIL PROTECTED]>
Date: 26-Jan-00 Phone: 315-453-2912 Ex. 5336
Time: 08:17:53 Fax: 315-453-3052
Software Engineering Group -- AppliedTheory Corp.
224 Harrison Street, 6th Floor, Syracuse, NY 13202
------------------------------------------------------------------------