0

I downloaded the disk for a google compute instance as a vmdk and I'm able to bring it up in VMware Fusion (it's a debian 10 instance). However when I run it locally it's prompting me a for username & password whereas when the vm runs in the cloud it logs in automatically (I believe google cloud manages this through ssh keys). Any ideas on how to perform the authentication when running the vm locally would be much appreciated.

7
  • 1
    Do you have the SSH private key? If yes, log in using SSH. Otherwise, IIRC, you must enable password-based login and create a root password before downloading the image. Commented Jun 16, 2023 at 23:48
  • 2
    If you know Linux well, you can attach the VMDK to another VM, mount the root file system, chroot, and configure password-based login. Commented Jun 16, 2023 at 23:50
  • @JohnHanley Connect to ssh/Configure ssh are disabled on the instance in VM ware fusion. Do I need these to be enabled in order to login using SSH? d.pr/i/SjrGm0
    – opike
    Commented Jun 17, 2023 at 18:16
  • Also, password authentication was already enabled in the sshd_config file prior to downloading the image from GCE: d.pr/i/4gU4dU
    – opike
    Commented Jun 17, 2023 at 18:19
  • I do not use VMware Fusion, but I do use VMware Workstation. What do you mean by ssh is disabled in VMware Fusion? When you enabled password-based login before downloading the image, did you also create a password for the root user? That is two different steps. Commented Jun 17, 2023 at 18:46

0

You must log in to answer this question.