#VM SSH Auth Fails After Upgrade Using AZ CLI

1 messages · Page 1 of 1 (latest)

rigid latch
#

Hi all,

I typically log into a VM of mine running Ubuntu 20.04 LTS using the az cli. The full command is something like:
az ssh vm -n vm-appserver -g rg-appserver

That said, I was able to log into it and performed an upgrade. First I did apt update && apt upgrade, rebooted, and everything was great. Then I did a do-release-upgrade and, since then, I cannot log in using that command:

C:\Users\aarch>az ssh vm -n vm-appserver -g rg-appserver
OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3
[email protected]@12.34.56.78: Permission denied (publickey).

I am trying to use Azure authentication to log in. If I log in directly using a specific local account with a private key, it works fine, but this is not how we typically authenticate to it. Any suggestions or areas to check would be greatly appreciated. I remember setting up Azure authentication when I initially deployed the VM, but I don't know where to go to check/modify it at this point. Thanks!

#

I believe I found the right extension. I am re-deploying it to see if that works.