Hi@akhtar,
It is required to change the SSH configuration after a certain period of time for security purose. You can use the below command to reset the SSH configuration.
$ az vm user reset-ssh -n MyVm -g MyResourceGroup
Hope this helps!
Check out the Azure cloud course and learn more about Azure today.