vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Remote SSH: Support SunOS

Open fr43nk opened this issue 5 years ago • 54 comments

Hi,

are there any plans supporting operation systems like SunOS, like the one we use?

SunOS habicht 5.10 Generic_147147-26 sun4u sparc SUNW,SPARC-Enterprise

Best regards

fr43nk avatar Nov 21 '19 14:11 fr43nk

I would love this feature as well!!

raivatshah avatar Feb 28 '20 16:02 raivatshah

Is there a workaround to make it work for Solaris OS?

dnyaneshgate avatar Jul 09 '20 11:07 dnyaneshgate

+1 for this feature please. I'm working in the financial industry, with many older SunOS machines. This VS Code feature works amazing for our Linux boxes. please implement it for SunOS!

mccloud-jeff avatar Jul 10 '20 20:07 mccloud-jeff

Modern Illumos derived OSes (like SmartOS, OmniOS, etc) need support. Illumos is a OpenSolaris derivative. Please support!

john-terrell avatar Jul 11 '20 21:07 john-terrell

Modern Illumos derived OSes (like SmartOS, OmniOS, etc) need support. Illumos is a OpenSolaris derivative. Please support!

I can provide build support for these systems if need be. I'm will to do the heavy lifting to make this happen as well.

john-terrell avatar Jul 11 '20 21:07 john-terrell

Working on DilOS (another illumos-based OS) - would be happy to use it as well. Now it rejects because "SunOS" is not supported. I have bash at host (ubuntu/amd64) and guest (dilos/amd64) side. Please, suggest workaround if any.

kovalexpro avatar Jul 31 '20 10:07 kovalexpro

This would be great addition, I operate fleet of SmartOS (illumos based) hosts and would need to do remote development inside SmartOS Zones.

@chrmarti How big change this would be? Is it just the operating system name or is there actual dependencies other than ie. SSH and bash?

jussisallinen avatar Nov 21 '20 11:11 jussisallinen

Here's what happens upon connecting to illumos based SmartOS Zone:

[11:41:06.898] [email protected]
[11:41:06.899] darwin x64
[11:41:06.900] SSH Resolver called for "ssh-remote+pupu.jus.si", attempt 1
[11:41:06.900] SSH Resolver called for host: pupu.jus.si
[11:41:06.900] Setting up SSH remote "pupu.jus.si"
[11:41:06.903] Acquiring local install lock: /var/folders/0s/nzq5b17129503hpj0vhpswj80000gp/T/vscode-remote-ssh-pupu.jus.si-install.lock
[11:41:06.916] Looking for existing server data file at /Users/jussi/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-pupu.jus.si-d2e414d9e4239a252d1ab117bd7067f125afd80a-0.56.0/data.json
[11:41:06.917] Using commit id "d2e414d9e4239a252d1ab117bd7067f125afd80a" and quality "stable" for server
[11:41:06.918] Install and start server if needed
[11:41:06.921] Checking ssh with "ssh -V"
[11:41:06.934] > OpenSSH_8.1p1, LibreSSL 2.7.3

[11:41:06.937] askpass server listening on /var/folders/0s/nzq5b17129503hpj0vhpswj80000gp/T/vscode-ssh-askpass-fda635fe9bee9427adb80f8ec85ee8b18c3f21e2.sock
[11:41:06.937] Spawning local server with {"ipcHandlePath":"/var/folders/0s/nzq5b17129503hpj0vhpswj80000gp/T/vscode-ssh-askpass-40f6cd66ce3b77077fad264a54babf70111a9985.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","50146","-o","ConnectTimeout=15","pupu.jus.si"],"dataFilePath":"/Users/jussi/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-pupu.jus.si-d2e414d9e4239a252d1ab117bd7067f125afd80a-0.56.0/data.json"}
[11:41:06.938] Local server env: {"DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/jussi/.vscode/extensions/ms-vscode-remote.remote-ssh-0.56.0/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Applications/Visual Studio Code 2.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer)","VSCODE_SSH_ASKPASS_MAIN":"/Users/jussi/.vscode/extensions/ms-vscode-remote.remote-ssh-0.56.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/0s/nzq5b17129503hpj0vhpswj80000gp/T/vscode-ssh-askpass-fda635fe9bee9427adb80f8ec85ee8b18c3f21e2.sock"}
[11:41:06.940] Spawned 72081
[11:41:07.030] > local-server> Spawned ssh: 72082
[11:41:07.034] stderr> OpenSSH_8.1p1, LibreSSL 2.7.3
[11:41:07.279] stderr> debug1: Server host key: ecdsa-sha2-nistp256 SHA256:OxTayF5/gbNr4f82yxY4HXSOvX2996Ot3rpsYaRj79w
[11:41:07.552] stderr> Authenticated to pupu.jus.si ([136.243.26.39]:22).
[11:41:07.697] > ready: 7e197af14519
[11:41:07.733] > SunOS 5.11 joyent_20201022T155042Z
[11:41:23.946] Terminating local server
[11:41:23.952] Resolver error: Error: Connecting with SSH timed out
	at Function.Timeout (/Users/jussi/.vscode/extensions/ms-vscode-remote.remote-ssh-0.56.0/out/extension.js:1:94553)
	at Timeout._onTimeout (/Users/jussi/.vscode/extensions/ms-vscode-remote.remote-ssh-0.56.0/out/extension.js:1:329614)
	at listOnTimeout (internal/timers.js:531:17)
	at processTimers (internal/timers.js:475:7)
[11:41:23.953] Local server exit: 15

jussisallinen avatar Nov 21 '20 11:11 jussisallinen

This would be very useful on OmniOS and others in the Illumos family.

JohnConnett avatar Nov 21 '20 15:11 JohnConnett

The VS Code Server that is installed on the remote machine runs on Node.js and uses a few native modules that need to be compiled for that remote OS and hardware.

chrmarti avatar Nov 23 '20 09:11 chrmarti

The VS Code Server that is installed on the remote machine runs on Node.js and uses a few native modules that need to be compiled for that remote OS and hardware.

Well that shouldn't be hard given that SmartOS is developed by Joyent: https://www.joyent.com/node-js/support Do you need access to a SmartOS/illumos host for that to happen? I can help with that in case it would speed things up, @john-terrell also offered help.

jussisallinen avatar Nov 23 '20 15:11 jussisallinen

We would set up a build machine to automate it. This is not planned at the moment. (It might not be hard, but automation and maintenance takes time.)

chrmarti avatar Nov 24 '20 06:11 chrmarti

@chrmarti am I correct in thinking that these remote components are not necessarily open source? (That is, we might not be able to help you much anyhow?). Thanks again!

robertdfrench avatar Dec 29 '20 23:12 robertdfrench

@robertdfrench That's correct (see FAQ).

chrmarti avatar Jan 04 '21 10:01 chrmarti

FAQ

doh! Gets me every time... Thanks @chrmarti !

robertdfrench avatar Jan 04 '21 14:01 robertdfrench

+1 .. Was just trying to use this on a SmartOS development instance.

I'd be happy to provide build machines to support this effort @ mnx.io if that helps in any way!

nwilkens avatar Feb 17 '21 21:02 nwilkens

I, too, would really like to see this.

dancrossnyc avatar Apr 30 '21 20:04 dancrossnyc

This would be Awesome to see come to OmniOS!

Makr91 avatar Oct 04 '21 08:10 Makr91

+1 Hi, it would be fantastic to develop on SunOS machines from the desktop, without having to mount filesystems, etc.

txinto avatar Oct 13 '21 14:10 txinto

+1, Hi it really would be very nice to have this for OmniOS !

mbareck7 avatar Oct 25 '21 10:10 mbareck7

Need SunOS support. +1.

dyigitpolat avatar Oct 25 '21 15:10 dyigitpolat

Another cry for sympathy here. What would be needed to make this happen?

dancrossnyc avatar Feb 15 '22 15:02 dancrossnyc

3 years, all these people asking for it and still nothing changed.

dyigitpolat avatar Feb 15 '22 16:02 dyigitpolat

Just putting in another request for SunOS support.

Vistuvis avatar Mar 16 '22 17:03 Vistuvis

pls add this.

bboysnick5 avatar Apr 07 '22 03:04 bboysnick5

+1

chebansviaz avatar May 26 '22 10:05 chebansviaz

+1

aquelemiguel avatar Jun 01 '22 16:06 aquelemiguel

+1 Will be cool

Scripa4 avatar Jun 02 '22 06:06 Scripa4

+1

shabo20 avatar Jun 02 '22 06:06 shabo20

+1

OneThousandEyes avatar Jun 02 '22 07:06 OneThousandEyes