Looks ok here You can also change timestamp format in awk/strftime.
Code
[2019-06-04 14:49:25] Server listening on 0.0.0.0 port 22.
[2019-06-04 14:49:25] Server listening on :: port 22.
[2019-06-04 14:49:26] Accepted password for root from 192.68.1.2 port 56393 ssh2
[2019-06-04 14:49:58] Failed password for root from 192.68.1.3 port 56405 ssh2
[2019-06-04 14:49:58] Connection closed by authenticating user root 192.68.1.3 port 56405 [preauth]
[2019-06-04 14:49:59] Failed password for root from 192.68.1.4 port 56407 ssh2
[2019-06-04 14:49:59] Connection closed by authenticating user root 192.68.1.4 port 56407 [preauth]