VSCode: Unable to use Remote-SSH with Lima VM after updating macOS to 13.4 #1605
-
DescriptionAfter updating my macOS to version 13.4, I am experiencing issues with code-server (vscode-remote-ssh) when trying to connect to a Lima VM. However, I was able to successfully use the same instance of code-server before the macOS update. I can still SSH into the Lima VM using the provided configuration without any problems, but the issue arises specifically when attempting to connect via code-server. Steps to reproduce
Expected behaviorI expect to be able to connect to the Lima VM using remote-ssh as I did before the macOS update. Actual behaviorSince updating to macOS 13.4, I am unable to establish a connection to the Lima VM using code-server (vscode-remote-ssh). The connection process fails, and I am unable to access the remote development environment. However, SSH connections to the Lima VM using the provided configuration still work fine. SSH ConfigurationIn my SSH configuration file, I have the following entry for connecting to the Lima VM:
Successful SSH CommandI can successfully connect to the Lima VM using the following SSH command:
Error messages and logsWhen starting code-server manually on vm, I receive the following error:
When starting code-server using the SSH remote extension in Visual Studio Code, I encounter the following error message within the editor:
Attempts and researchI have tried restarting my Mac and the Lima VM, but the issue persists. I have not made any changes to my Lima VM configuration or code-server setup. I have also researched online for any similar issues or known compatibility problems between code-server, Lima VM, and macOS 13.4, but could not find any relevant information. Host Environment
Lima Instance Environment
Additional information
Any suggestions or insights on how to troubleshoot or resolve this issue would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, could you also share your lima configuration that you are using ? |
Beta Was this translation helpful? Give feedback.
From the above info i guess you are using emulated qemu lima instance on M1.
There is already a similar open issue with this combination
microsoft/vscode-remote-release#8391
Maybe one suggestion would be try with vz driver with rosetta enabled. See if that helps