You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are many scenarios where the development stack lives on macos but we have the need to develop locally on windows or linux. Specifically I am thinking of flutter. cc Danny Tuppeny (@DanTup)
Reacted by Danny Tuppeny, Philipp Spiess, Kevin Segaud, Joel Hock, martinkasa, David Ing, Alexandru Dima, David Chkhikvadze, espring, Taras Polovyi and 284 more
Reacted by Danny Tuppeny, Mohamed Elrashid, chendi, yang, Yuya Matsuo (metal), Truong Nguyen, Andrea Ciani and lamvh
Reacted by Danny Tuppeny, Mohamed Elrashid, chendi, Yuya Matsuo (metal), yang, Kashish Grover, Truong Nguyen, Brian Wells, htxu007, Andrea Ciani and 3 more
Reacted by Santiago, Anton Stsiapanau, Danny Tuppeny, Mohamed Elrashid, chendi, Yuya Matsuo (metal), Keyvin Duque, yang, Tom Aylott, Eugene Yang and 11 more
Reacted by Danny Tuppeny, Mohamed Elrashid, Jamie West, chendi, Yuya Matsuo (metal), yang, Alexander Hultnér, Truong Nguyen, Brian Wells, rengui and 3 more
Reacted by Danny Tuppeny, Mohamed Elrashid, chendi, Paul Robert W., Yuya Matsuo (metal), Peter Dunshee, rengui, mediaboxes, Truong Nguyen, Brian Wells and 1 more
Or: all of my development is done from a Mac, unless I'm working remotely in which case I'm on Windows 10. Thank you for the hope of being able to use VSCode remotely.
Reacted by Titus Sanchez, James Proctor, Nate Woolls, João Ribeiro, Anakin Zheng, Clovis Durand, Craig Mason, Jamie West, Zhi Heng, Paul Swartz and 12 more
Anyone who is developing a cross platform mobile app needs to test iOS eventually, for anyone who isn't already on a Mac, that means using a mac to get iOS working. Seems like an excellent use case for vscode remote.
Reacted by dymo, Jamie West, Zhi Heng, Lars The, Audrius Karosevicius, Yuya Matsuo (metal), Black Jack, Jen Garcia, Santiago, Peter Dunshee and 5 more
It's not clear to me what the limitation is though.. currently connecting to macOS reports it's "not Linux x86_64" so it seems like a deliberate check, but I'm not sure what the significant difference is that prevents it from working (as I understand it, a lot of the code that runs the extension host already runs on Mac in a non-remote session).
Reacted by Linwei Shang, Taylor Thurlow, sparanoid, Shinan Lu, Mohamed Elrashid, Santiago, Audrius Karosevicius, Yukai Huang, Justin J. Novack, rengui and 1 more
I have an iMac for work in office and a MacBook for personal use in home. It'll be great to use vscode to edit files on the other mac remotely. Just another use case for your interests.
Reacted by Nate Woolls, Taylor Thurlow, Shinan Lu, Horacio Duran, Zhi Heng, Alexander Hultnér, Brad Pillow, Santiago, Milan Darjanin, Jaromir Rivera and 13 more
roblourens could you provide an explanation as to why this issue isn't getting a clear response?
As far as I can tell, osx support shouldn't be difficult. What kind of blockers would make this not just something that was done alongside Linux?
This Remote Development feature runs client-side AND server-side processes. There is client-side support for Windows, Mac, and Linux. The server-side code (link below) is only compatible with Linux. I'm sure once they have worked out all the bugs then they will also offer a Mac and Windows version of vscode-server, which I hope is soon, but it's not as simple as removing a "blocker" that they put in there just to annoy us.
Reacted by Raghavendra Saralaya, André Moraes, Santiago, Attila Gonda, maritz, Volodymyr Selyukh, Sana Ajani, Black Jack, andreas-tadic-unity, Rukmal Weerawarana and 2 more
As an update to this issue, I recently tried to connect to a remote Mac and the installer seemed to make an attempt, but ultimately failed because the sed command works differently on Macs.
Here's my log output:
[18:27:34.931] [email protected]
[18:27:34.931] win32 x64
[18:27:34.932] SSH Resolver called for "ssh-remote+mac", attempt 1
[18:27:34.932] SSH Resolver called for host: mac
[18:27:34.932] Setting up SSH remote "mac"
[18:27:34.945] Using commit id "036a6b1d3ac84e5ca96a17a44e63a87971f8fcc8" and quality "stable" for server
[18:27:34.948] Testing ssh with ssh -V
[18:27:34.983] ssh exited with code: 0
[18:27:34.983] Got stderr from ssh: OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.4
[18:27:34.983] Running script with connection command: ssh -o ClearAllForwardings=true mac bash
[18:27:34.984] Install and start server if needed
[18:27:35.110] >
[18:27:35.110] Got some output, clearing connection timeout
[18:27:35.322] > Running remote connection script
> sed: 1: "s/^linux //gi": bad flag in substitute command: 'i'
> Unsupported architecture:
> 0d6e33fa-7e6c-40cb-8985-9877bb252cd5##27##
>
[18:27:35.323] Received install output: 0d6e33fa-7e6c-40cb-8985-9877bb252cd5##27##
[18:27:35.323] Unsupported architecture
[18:27:35.323] The remote server architecture is not supported
[18:27:35.323] TELEMETRY: {"eventName":"resolver","properties":{"outcome":"failure","reason":"ExitCode"},"measures":{"resolveAttempts":1,"exitCode":27,"retries":1}}
[18:27:35.323] ------
[18:27:35.589] "install" terminal command done
[18:27:35.589] Install terminal quit with output:
Hmm interesting, you can install the GNU (Linux) version of sed and other
core-utilities via homebrew and add them as the highest prioritised binary
in your path, have you tried this?
On Wed, Aug 14, 2019 at 8:44 PM Jen Garcia ***@***.***> wrote:
As an update to this issue, I recently tried to connect to a remote Mac
and the installer seemed to make an attempt, but ultimately failed because
the sed command works differently on Macs.
Here's my log output:
[18:27:34.931] ***@***.***
[18:27:34.931] win32 x64
[18:27:34.932] SSH Resolver called for "ssh-remote+mac", attempt 1
[18:27:34.932] SSH Resolver called for host: mac
[18:27:34.932] Setting up SSH remote "mac"
[18:27:34.945] Using commit id "036a6b1d3ac84e5ca96a17a44e63a87971f8fcc8" and quality "stable" for server
[18:27:34.948] Testing ssh with ssh -V
[18:27:34.983] ssh exited with code: 0
[18:27:34.983] Got stderr from ssh: OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.4
[18:27:34.983] Running script with connection command: ssh -o ClearAllForwardings=true mac bash
[18:27:34.984] Install and start server if needed
[18:27:35.110] >
[18:27:35.110] Got some output, clearing connection timeout
[18:27:35.322] > Running remote connection script
> sed: 1: "s/^linux //gi": bad flag in substitute command: 'i'
> Unsupported architecture:
> 0d6e33fa-7e6c-40cb-8985-9877bb252cd5##27##
>
[18:27:35.323] Received install output: 0d6e33fa-7e6c-40cb-8985-9877bb252cd5##27##
[18:27:35.323] Unsupported architecture
[18:27:35.323] The remote server architecture is not supported
[18:27:35.323] TELEMETRY: {"eventName":"resolver","properties":{"outcome":"failure","reason":"ExitCode"},"measures":{"resolveAttempts":1,"exitCode":27,"retries":1}}
[18:27:35.323] ------
[18:27:35.589] "install" terminal command done
[18:27:35.589] Install terminal quit with output:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#24?email_source=notifications&email_token=AAULT2RLBZLUCUEWLQVJ3STQERHAPA5CNFSM4HKIOKH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4JXNOA#issuecomment-521369272>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAULT2WNF6UEHOX25GTFNULQERHAPANCNFSM4HKIOKHQ>
.
You register the Mac as a VS Online "environment" and then from another machine (eg. Windows) you connect VS Code to that Online environment. It requires an Azure account and I think it's all proxied through Azure - but as far as I can tell it's completely free (as long as you're using your own attached environment, and not spawning up an Azure machine).
It's a bit quirky (for ex. you have to have installed and launched VS Code on the Mac), but doing this I was able to launch Flutter apps on a simulator running on the Mac (I have no reason to believe it won't work with a physical iPhone, but don't have one to test) from Windows (including VS Code on Windows showing the iPhone Simulator as the selected Flutter device).
Danny Tuppeny (@DanTup)'s solution works, pretty well in fact as there seems to be feature parity with remote SSH. The only caveat is the latency which is pretty bad since the connection is being routed through Microsoft's infrastructure, it makes using the integrated terminal pretty frustrating. Otherwise, it's quite usable. Thanks!
This now works in the Remote-SSH Nightly extension. Please try it out! I do have some more testing to do but it should basically work.
Reacted by Mike Hardy, Jinze Xue, Thomas Thomassen, Robert Shecter, Steven Bennett, Eugene Yang, sho yamashita, Victor Borges, bloss0mx, Giuseppe Samela and 4 more
Reacted by Arnav Sood, Alex Garipian, Ryan Govostes, Illia, Charlie Allom, codecolorist, Alex Fong, Paul Nicholson, Jamie West, Brian Wells and 24 more
Reacted by Lenz Weber-Tronic, Peter Staev, Mike Hardy, Jinze Xue, Thomas Thomassen, Tonni, Victor Borges, bloss0mx, Bruce Johnson, Santiago and 1 more
Reacted by Brian Wells, yusanshi, Peter Staev, Jinze Xue, Thomas Thomassen, Victor Borges, bloss0mx, Santiago and superman-lopez
Hi,
Has anyone tried out this new feature with v1.43 for macOS host?
I am seeing error about something like this (I replace the directory path by $HOME)
[15:55:27.345] > Server did not start successfully. Full server log at _$HOME_/.vscode-server/.78a4c91400152c0f27ba4d363eb56d2835f9903a.log >>>
[15:55:27.349] > _$HOME_/.vscode-server/bin/78a4c91400152c0f27ba4d363eb56d2835f9903a/server.sh: line 12: 22345 Killed: 9 "$ROOT/node" ${INSPECT:-} "$ROOT/out/vs/server/main.js" "$@"
> <<< End of server log
> 87e8cfe4172e##32##
[15:55:27.350] Received install output: 87e8cfe4172e##32##
[15:55:27.351] Terminating local server
[15:55:27.352] Resolver error: The VS Code Server failed to start
[15:55:27.362] ------
Could someone point me to instructions on how to set up a MacOS SSH host and connect with VSCode?
This was announced in the February release but the documentation still says a MacOS SSH server is "Not supported yet."
Activity
[-]Please support MacOS SSH Host[/-][+]Please support macOS SSH host[/+]sharumpe commentedon May 15, 2019
Or: all of my development is done from a Mac, unless I'm working remotely in which case I'm on Windows 10. Thank you for the hope of being able to use VSCode remotely.
brysgo commentedon May 29, 2019
Anyone who is developing a cross platform mobile app needs to test iOS eventually, for anyone who isn't already on a Mac, that means using a mac to get iOS working. Seems like an excellent use case for vscode remote.
tru commentedon Jun 7, 2019
Is this something that has to be done by the VSCode team itself or what could the open source community help out with?
DanTup commentedon Jun 7, 2019
It doesn't seem like the extensions are open source (see https://code.visualstudio.com/docs/remote/faq#_license-and-privacy), so that might limit what the community can do.
It's not clear to me what the limitation is though.. currently connecting to macOS reports it's "not Linux x86_64" so it seems like a deliberate check, but I'm not sure what the significant difference is that prevents it from working (as I understand it, a lot of the code that runs the extension host already runs on Mac in a non-remote session).
lwshang commentedon Jun 10, 2019
I have an iMac for work in office and a MacBook for personal use in home. It'll be great to use vscode to edit files on the other mac remotely. Just another use case for your interests.
yuhr commentedon Jun 11, 2019
This is must be
jpike88 commentedon Jun 19, 2019
roblourens could you provide an explanation as to why this issue isn't getting a clear response?
As far as I can tell, osx support shouldn't be difficult. What kind of blockers would make this not just something that was done alongside Linux?
JtMotoX commentedon Jun 19, 2019
This Remote Development feature runs client-side AND server-side processes. There is client-side support for Windows, Mac, and Linux. The server-side code (link below) is only compatible with Linux. I'm sure once they have worked out all the bugs then they will also offer a Mac and Windows version of vscode-server, which I hope is soon, but it's not as simple as removing a "blocker" that they put in there just to annoy us.
https://update.code.visualstudio.com/commit:553cfb2c2205db5f15f3ee8395bbd5cf066d357d/server-linux-x64/stable
cuibonobo commentedon Aug 14, 2019
As an update to this issue, I recently tried to connect to a remote Mac and the installer seemed to make an attempt, but ultimately failed because the
sedcommand works differently on Macs.Here's my log output:
Hultner commentedon Aug 14, 2019
30 remaining items
DanTup commentedon Jan 16, 2020
It's not as straight forward, but FWIW depending on your needs you can use VS Online's "self-host" setup to somewhat achieve this with some caveats:
https://docs.microsoft.com/en-gb/visualstudio/online/how-to/vscode#self-hosted
You register the Mac as a VS Online "environment" and then from another machine (eg. Windows) you connect VS Code to that Online environment. It requires an Azure account and I think it's all proxied through Azure - but as far as I can tell it's completely free (as long as you're using your own attached environment, and not spawning up an Azure machine).
It's a bit quirky (for ex. you have to have installed and launched VS Code on the Mac), but doing this I was able to launch Flutter apps on a simulator running on the Mac (I have no reason to believe it won't work with a physical iPhone, but don't have one to test) from Windows (including VS Code on Windows showing the iPhone Simulator as the selected Flutter device).
FrobtheBuilder commentedon Jan 27, 2020
Danny Tuppeny (@DanTup)'s solution works, pretty well in fact as there seems to be feature parity with remote SSH. The only caveat is the latency which is pretty bad since the connection is being routed through Microsoft's infrastructure, it makes using the integrated terminal pretty frustrating. Otherwise, it's quite usable. Thanks!
roblourens commentedon Feb 17, 2020
This now works in the Remote-SSH Nightly extension. Please try it out! I do have some more testing to do but it should basically work.
jamiewest commentedon Feb 17, 2020
Thank you!
yueyericardo commentedon Feb 17, 2020
THANKS!!!!!
It's working.
FYI
Download VS Code Insider.
Then search Extenstion
Remote - SSH (Nightly)Archiving Repository
slu216 commentedon Mar 9, 2020
Hi,
Has anyone tried out this new feature with v1.43 for macOS host?
I am seeing error about something like this (I replace the directory path by $HOME)
brucejo75 commentedon Mar 10, 2020
I just set up remote ssh with
v1.43. All is working as expected for me! Yay.david02871 commentedon Mar 13, 2020
Could someone point me to instructions on how to set up a MacOS SSH host and connect with VSCode?
This was announced in the February release but the documentation still says a MacOS SSH server is "Not supported yet."
https://code.visualstudio.com/docs/remote/troubleshooting#_installing-a-supported-ssh-server
brucejo75 commentedon Mar 13, 2020
I followed the directions here.
For the mac server just enable remote login, that automatically starts up the SSH server.
https://www.booleanworld.com/access-mac-ssh-remote-login/
roblourens commentedon Mar 13, 2020
Docs are getting updated - sorry about that and yes, thanks Bruce Johnson (@brucejo75)