TODO: polish
- Go to Azure portal
- Select the machine
- Go to Reset Password section
- Select "Reset Configuration Only" in the dropdown
- Wait for the SSH reset to be done
- Try to SSH again to the machine
Original reference: https://docs.microsoft.com/en-gb/azure/virtual-machines/linux/troubleshoot-ssh-connection#fix-common-ssh-errors