Xen Orchestra template - How to troubleshoot VM when ssh is dead
-
Hi,
When I deploy a VM using an iso image, I can always connect to the console with the root password and troubleshoot the VM. When we deploy a VM using the XO template, we enter the ssh key to gain access to it and it work ok. However, if for some reason we loose ssh access to the VM due to a bad configuration of resources issue we are not able to access the VM via the terminal as there is no password etc...
How do you guy work around this issue?
Thank you
-
Could anyone help please?
-
Are you able to access the VM console from within XO?
-
@Danp yes I can. It prompt for login details but I cannot login as it seem to be via ssh key only.
-
Have you tried attaching the disk to a separate VM and then editing the SSH keys from there?