[feature suggestion] sshd should log the listening port number while logging errors/warnings
Yuri
yuri at rawbw.com
Mon Jun 5 17:06:20 AEST 2023
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:
>
> $ sudo `pwd`/sshd -ddd -p 2022
> [...]
> kex_exchange_identification: banner line contains invalid characters
> banner exchange: Connection from 127.0.0.1 port 52410: invalid format
I am using sshd on FreeBSD 13.2 and it only logs the first line.
Does the second line require some special setting values to be printed?
Yuri
More information about the openssh-unix-dev
mailing list