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
_______________________________________________
openssh-unix-dev mailing list
openssh-...@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
The current version of OpenSSH in the FreeBSD 13.x branch is 9.3p1
But the log doesn't contain the listening port information,
For example, /var/log/messages has:
> Jun 6 19:05:02 xx sshd[6528]: error:
Fssh_kex_exchange_identification: read: Connection reset by peer
The same incident also has these lines in /var/log/auth.log:
> Jun 6 19:05:02 xx sshd[6528]: error:
Fssh_kex_exchange_identification: read: Connection reset by peer
> Jun 6 19:05:02 xx sshd[6528]: Connection reset by 69.164.217.245
port 47272
But the listening port information isn't printed.
What is wrong?
Yuri