Darren Tucker
2023-Jun-05 08:11 UTC
[feature suggestion] sshd should log the listening port number while logging errors/warnings
On Mon, 5 Jun 2023 at 17:06, Yuri <yuri at rawbw.com> wrote:> On 6/4/23 23:59, Darren Tucker wrote: > > The subsequent log line from sshpkt_fatal contains the source address > > and port of that connection:[...]> I am using sshd on FreeBSD 13.2 and it only logs the first line.FreeBSD 13's OpenSSH is based on 8.0p1, which is a bit over four years old at this point.> Does the second line require some special setting values to be printed?No. It was added in 2022 in this commit, which was first in OpenSSH 8.3: https://github.com/openssh/openssh-portable/commit/5becbec023f2037394987f85ed7f74b9a28699e0 -- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Darren Tucker
2023-Jun-05 08:14 UTC
[feature suggestion] sshd should log the listening port number while logging errors/warnings
On Mon, 5 Jun 2023 at 18:11, Darren Tucker <dtucker at dtucker.net> wrote:> On Mon, 5 Jun 2023 at 17:06, Yuri <yuri at rawbw.com> wrote:[...]> > Does the second line require some special setting values to be printed? > > No. It was added in 2022 in this commit, which was first in OpenSSH 8.3:correction: 2020.> https://github.com/openssh/openssh-portable/commit/5becbec023f2037394987f85ed7f74b9a28699e0-- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Christian Weisgerber
2023-Jun-06 20:46 UTC
[feature suggestion] sshd should log the listening port number while logging errors/warnings
Darren Tucker:> > I am using sshd on FreeBSD 13.2 and it only logs the first line. > > FreeBSD 13's OpenSSH is based on 8.0p1, which is a bit over four years > old at this point.It has been upgraded over the course of the 13.x branch: 13.2 has OpenSSH 9.2p1. -- Christian "naddy" Weisgerber naddy at mips.inka.de