-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Password authentication #32
Comments
Neve seen this kind of behaviour. The vm repair extension is actually using the normal CLI syntax to create a VM it might be therefore a generic issue with a az vm create operation. What is the type of VM you create Windows or Linux? If it is a Linux one you can mitigate the issue with resetting the password i.e https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/reset-password#:~:text=%20Reset%20the%20password%20by%20using%20Azure%20Linux,3%20Try%20to%20access%20the%20VM.%20More%20 |
Hello Marcus,
I hope you are doing well. Thank you so much for your response. I was able to figure out the problem.
When I execute the az VM create script from Azure cloud shell, I am unable to access the VM with the specified password in the script until I reset it from the portal. I think this is a cloud shell issue because I tried the the script on AZ CLI v2.33.1 installed on my PC and it worked perfectly.
I noticed this started from later versions after v2.33.1 on az cloud shell.
Regards,
Nezie.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Marcus Lachmanez ***@***.***>
Sent: Sunday, March 13, 2022 11:36:36 PM
To: Azure/repair-script-library ***@***.***>
Cc: Nezie-Nwobi ***@***.***>; Author ***@***.***>
Subject: Re: [Azure/repair-script-library] Password authentication (Issue #32)
Neve seen this kind of behaviour. The vm repair extension is actually using the normal CLI syntax to create a VM it might be therefore a generic issue with a az vm create operation. What is the type of VM you create Windows or Linux? If it is a Linux one you can mitigate the issue with resetting the password i.e https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/reset-password#:~:text=%20Reset%20the%20password%20by%20using%20Azure%20Linux,3%20Try%20to%20access%20the%20VM.%20More%20
—
Reply to this email directly, view it on GitHub<#32 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYEYQGAAKTCMPALL6YRZYQTU7ZUXJANCNFSM5QKOTHQA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I noticed that when I create a VM using the az vm create command. After creating the repair VM and try to SSH into it, it reject the password even though it is correct
The text was updated successfully, but these errors were encountered: