0

A couple of days ago, I set up a Windows 11 VM using VMware Fusion on my Macbook Air, and despite the janky and, at times, incredibly frustrating installation process (finding ISO files that will run on an ARM processor is shockingly difficult), I finally got it up and running with VMware tools installed. I like to use SSH (with SCP) to transfer files from my host operating system to my VMs, so one of the first things I did once the VM got set up was install OpenSSH using this Microsoft guide. I followed all of the steps without a hitch. Once it was set up, I could SSH into the VM from its command prompt, which I took to mean I had properly set everything up.

However, trying to SSH into the VM from my host Mac OS was a fail - no error message was displayed, just a lack of a response until the session timed out. There were no OpenSSH logs on the Windows VM from the time that I had tried to SSH into the VM, so I don't think that the VM is simply refusing connections. As far as I can tell, it is not a connectivity error; the VM reports being connected via virtual ethernet, and pinging the VM from my host OS was successful.

Part of the issue could be my inexperience with Windows and, furthermore the proper way to SSH into a Windows system. The aforementioned OpenSSH guide made it seem like ssh domain\username@ipaddress was the proper way to SSH into a Windows system and executing whoami on the Windows VM yielded something in the form desktop-<random_letters/digits>\<username>, which I assumed to domain\username, but maybe I misinterpreted? Oddly, running systeminfo | findstr /B /C:"Domain" yields a different result for the domain, but trying to SSH with the result from that command as the domain also didn't work.

Side Note
I also tried SSHing into the Windows VM from my virtual Ubuntu desktop and received identical results when I tried to SSH from my host Mac OS. However, oddly enough, when I tried to ping the Windows VM from that Ubuntu VM, that also failed. Adding to my confusion, I was able to successfully ping the Ubuntu VM from the Windows VM and, furthermore, was able to successfully SSH from the Windows VM into the Ubuntu VM, so I have no clue what is going on there.

UPDATE
I presented my problem to ChatGPT per a suggestion from a cousin, and one of the things that it advised me to do was check that the value of ListenAddress in the OpenSSH configuration file was set to the IP address of the VM. It was set by default to 0.0.0.0, so I changed it to the private IP address of the VM. This, however, did not fix my problem :(.

4
  • Is the VM part of an Active Directory domain? I am not even sure, can join Windows on ARM to an Active Directory domain; typically, only Windows 10 Professional and above have the capability. Provide the OpenSSH Server logs when this user attempted to connect. Be sure you edit your question to include this required information.
    – Ramhound
    Commented Jun 22, 2023 at 2:55
  • Thanks for the reply, @Ramhound. You'll have to excuse me if I have a couple clarifying questions; I have practically zero experience with Windows, so I'm stilling catching up here. First off, what exactly is an Active Directory domain and how do I know if the VM is a part of one? Second, how do I find the OpenSSH server logs? Thanks.
    – Zarquon
    Commented Jun 22, 2023 at 16:46
  • The fact you have no idea what it is, means, you're not using an Active Directory user to log into the VM. I will leave, the task of understanding what an Active Directory domain is exactly, as an expertise in the future. As for the location of the OpenSSH Server logs, that depends on the OS where the server is running, where that location is exactly is well documented.
    – Ramhound
    Commented Jun 22, 2023 at 17:18
  • @Ramhound, I checked the server logs and added what I found (which was literally nothing) to my post - the OS where the server is running, just in case I wasn't clear, is Windows 11
    – Zarquon
    Commented Jun 22, 2023 at 21:16

0

You must log in to answer this question.