搞砸了 bash.bashrc 文件,无法再使用 SSH 访问 Azure VM

Messed up bash.bashrc file, can not access Azure VM using SSH anymore

我正在对 bashrc 文件进行一些更改。再次尝试重新加载文件后,我退出了 SSH 会话,现在我无法再访问它了。我尝试重新启动 VM,但这并没有解决我的问题。由于我是 Azure 云的新手,我们将不胜感激!

您可以尝试使用 VM 串行控制台进入您的 VM。

https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/serial-console-overview