Hi KindCompute,
Have you checked your logs?
The primary log file for SSH on Ubuntu is / var / log / auth . log
Also, have you thought of securing your VM with only allowing your IP addresses to access port 22? This would stop bots or random IP addresses from being able to connect to port 22 (SSH).
See this page for altering inbound port rules:
https://learn.microsoft.com/en-us/azure/virtual-machines/linux-vm-connect?tabs=Linux
If this is helpful please accept as answer or upvote.
Best regards,
Dillon Silzer, Director | Cloudaen.com | Cloudaen Computing Solutions