XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Xen Orchestra template - How to troubleshoot VM when ssh is dead

    Scheduled Pinned Locked Moved Xen Orchestra
    5 Posts 2 Posters 318 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      fred974
      last edited by

      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

      F 1 Reply Last reply Reply Quote 0
      • F Offline
        fred974 @fred974
        last edited by

        Could anyone help please?

        1 Reply Last reply Reply Quote 0
        • DanpD Offline
          Danp Pro Support Team
          last edited by

          Are you able to access the VM console from within XO?

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            fred974 @Danp
            last edited by

            @Danp yes I can. It prompt for login details but I cannot login as it seem to be via ssh key only.

            1 Reply Last reply Reply Quote 0
            • DanpD Offline
              Danp Pro Support Team
              last edited by

              Have you tried attaching the disk to a separate VM and then editing the SSH keys from there?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post