[feature suggestion] sshd should log the listening port number while logging errors/warnings

Yuri yuri at rawbw.com
Mon Jun 5 16:24:44 AEST 2023


I have sshd listening on several ports for various reasons.


sshd periodically logs errors like these:

 > Jun  4 22:52:52 xx sshd[30708]: error: 
Fssh_kex_exchange_identification: banner line contains invalid characters


This message would be a lot more helpful if it would contain the port 
number for this connection.

It would be easier to figure out where offending connections come from.


Thanks,

Yuri




More information about the openssh-unix-dev mailing list