Hi TAZDAIT, Yacine,
Thank you for reaching out to us on Microsoft Q&A forum.
We understand from your query that you are experiencing an issue while attempting to connect to the VM with a username.
As Marcin Policht mentioned, please also take into consideration the insights I'm providing below.
We suggest that you use the username you provided for the VM when connecting to it.
When attempting to connect to the VM from Azure CLI, use: ssh [username]@[public-ip].
Try to reconnect with CLI again.
If you have any further queries, do let us know.
If the answer is helpful, please click "Accept Answer" and "Upvote it"