sshd 3.7p1 dies on MacOSX

Jacques Distler distler at golem.ph.utexas.edu
Wed Sep 17 07:53:28 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here's the output from running sshd in debug mode:

   debug1: sshd version OpenSSH_3.7p1
   debug1: private host key: #0 type 0 RSA1
   debug1: read PEM private key done: type RSA
   debug1: private host key: #1 type 1 RSA
   debug1: read PEM private key done: type DSA
   debug1: private host key: #2 type 2 DSA
   debug1: setgroups() failed: Invalid argument
   debug1: Bind to port 22 on 0.0.0.0.
   Server listening on 0.0.0.0 port 22.
   Generating 768 bit RSA key.
   RSA key generation complete.
   debug1: Server will not fork when running in debugging mode.
   Connection from 127.0.0.1 port 59687
   debug1: Client protocol version 2.0; client software version 
OpenSSH_3.7p1
   debug1: match: OpenSSH_3.7p1 pat OpenSSH*
   debug1: Enabling compatibility mode for protocol 2.0
   debug1: Local version string SSH-1.99-OpenSSH_3.7p1
   debug1: permanently_set_uid: 17/17
   setuid 17: Operation not permitted
   debug1: Calling cleanup 0x24c8c(0x0)

Replacing uidswap.c with the version from 3.6p1 and recompiling 
produces a working sshd.
I have not tracked down which change caused the breakage, but it should 
be easy enough.

Jacques Distler
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)
Comment: PGP Key - http://golem.ph.utexas.edu/~distler/distler.asc

iD8DBQE/Z4ZgnyqPIXpYcjcRAvD9AJ4koreDrIZTZFb17gR5hWdXdokdtgCdF8wC
Ll5bysCtwPV3QVnZ7BIhgck=
=XbuY
-----END PGP SIGNATURE-----




More information about the openssh-unix-dev mailing list