This is a discussion on "User child pid" logging within the OpenSSH Development forums, part of the Networking and Network Related category; --===============1457972524== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1457972524==
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=latin-iso8859-1 Content-Transfer-Encoding: quoted-printable Hi! It would be easier to trace a connection in the logs if sshd reported the change of pid with LogLevel set to verbose instead of debug2. Is it possible to have it changed? Regards Claes Leufv=E9n Here is a patch for it: =2D-- sshd.c_orig 2005-11-21 10:51:08.000000000 +0100 +++ sshd.c 2005-11-21 10:51:11.000000000 +0100 @@ -652,7 +652,7 @@ if (pmonitor->m_pid =3D=3D -1) fatal("fork of unprivileged child failed"); else if (pmonitor->m_pid !=3D 0) { =2D debug2("User child is on pid %ld", (long)pmonitor->m_pid); + verbose("User child is on pid %ld", (long)pmonitor->m_pid); close(pmonitor->m_recvfd); buffer_clear(&loginmsg); monitor_child_postauth(pmonitor); --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (NetBSD) iD8DBQBDgZ5J+5SV1+pdBU0RAl9FAJ9vxsUh0ySuYXKomY8Isv R+tovo7wCfRGfi QQoQ4YVX9M2bIv9/GKx0oiY= =p82a -----END PGP SIGNATURE----- --=-=-=-- --===============1457972524== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org http://www.mindrot.org/mailman/listi...enssh-unix-dev --===============1457972524==-- |