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

Support remote SSH development on AIX

Open Dshamgar opened this issue 5 years ago • 28 comments

Please support remote SSH development on AIX platforms (in addition to linux x86).

Dshamgar avatar May 27 '20 19:05 Dshamgar

Agree with @Dshamgar

panchals17 avatar Jul 07 '20 14:07 panchals17

I don't think this support would be difficult to add and would benefit a number of enterprise customers. The SSH login seems to be working fine, but hits a "timeout" after issuing a uname command (despite seeming to be properly connected). This is what the output looks like on my Mac trying to connect to an AIX host:

10:40:24.179] > local-server> Spawned ssh: 94201
[10:40:24.186] stderr> OpenSSH_8.1p1, OpenSSL 1.1.1d  10 Sep 2019
[10:40:25.013] stderr> debug1: Server host key: REDACTED REDACTED
[10:40:26.112] Got askpass request: {"request":"root@REDACTED's password:"}
[10:40:26.114] Showing password prompt
[10:40:26.115] Listening for interwindow password on /var/folders/kw/kp6pyf5n2cg4sq6l0jvx37w80000gn/T/vscode-ssh-askpass-87cb00cc91dab19dc0e513f75105a4c1028c75ca.sock
[10:40:26.115] Writing password prompt to globalState
[10:40:31.342] Got password response
[10:40:31.342] Interactor gave response: ******
[10:40:31.342] Cleaning up other-window auth server
[10:40:31.711] stderr> Authenticated to REDACTED ([REDACTED]:22).
[10:40:32.235] > ready: 7eb56ede7b8a
[10:40:32.312] > AIX 1 7
[10:41:33.349] Terminating local server
[10:41:33.350] Resolver error: Connecting with SSH timed out
[10:41:33.358] ------

torinreilly avatar Aug 05 '20 14:08 torinreilly

Agree w/ @Dshamgar

waltlillyman avatar Sep 03 '20 12:09 waltlillyman

They seem to have fixed the timeout by explicitly checking supported OS:

[...]
[16:04:02.336] > ddca0ecb3e2b: running
> 
[16:04:02.457] > Unsupported platform: AIX
> ddca0ecb3e2b##35##
> 
[16:04:02.458] Received install output: ddca0ecb3e2b##35##
[16:04:02.458] Server installation failed with exit code 35 and output ddca0ecb3e2b##35##
[16:04:02.462] Resolver error: Error: 
	at Function.Create (c:\Users\XXX\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:1:130564)
	at Object.t.handleInstallOutput (c:\Users\XXX\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:1:129103)
	at I (c:\Users\XXX\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:127:106775)
	at processTicksAndRejections (internal/process/task_queues.js:94:5)
	at async c:\Users\XXX\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:127:104774
	at async Object.t.withShowDetailsEvent (c:\Users\XXX\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:127:109845)
	at async Object.t.resolve (c:\Users\XXX\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:127:107960)
	at async c:\Users\XXX\.vscode\extensions\ms-vscode-remote.remote-ssh-0.55.0\out\extension.js:127:141955
[16:04:02.465] ------




[16:04:02.877] "install" terminal command done
[16:04:02.877] Install terminal quit with output: 

I assume the problem is the different build architecture. You'll need the hardware and the OS. And you'll need Node.js and all dependencies running on that OS. And all this needs to be tested and supported for a really small user base I assume. If Remote SSH would be open source this might be a community feature.

ponchofiesta avatar Sep 16 '20 14:09 ponchofiesta

RISC AIX 5.3 also doesn't seem to like "grep -a" nor does it have /etc/os-release (although it could be created)

[14:50:20.062] > Unsupported platform: AIX

exitCode==35== osReleaseId==AIX==
... grep: illegal option -- a

stuboydl avatar May 06 '21 05:05 stuboydl

It really seems to come from a incorrect call to grep on AIX environment. I found that the -a flag is used to read binaries, and IBM doesn't seem to have implemented a similar flag : https://www.ibm.com/docs/en/aix/7.1?topic=g-grep-command#grep__row-d3e144040

[11:14:27.657] > 3c34c1ea0eaf: running [11:14:27.670] > grep: Not a recognized flag: a

Usage: grep [-r] [-R] [-H] [-L] [-E|-F] [-c|-l|-q] [-insvxbhwyu] [-p[parasep]] -e pattern_list...
[-f pattern_file...] [file...] Usage: grep [-r] [-R] [-H] [-L] [-E|-F] [-c|-l|-q] [-insvxbhwyu] [-p[parasep]] [-e pattern_list...] -f pattern_file... [file...] Usage: grep [-r] [-R] [-H] [-L] [-E|-F] [-c|-l|-q] [-insvxbhwyu] [-p[parasep]] pattern_list [file...] [11:14:27.700] > grep: Not a recognized flag: a Usage: grep [-r] [-R] [-H] [-L] [-E|-F] [-c|-l|-q] [-insvxbhwyu] [-p[parasep]] -e pattern_list...
[-f pattern_file...] [file...] Usage: grep [-r] [-R] [-H] [-L] [-E|-F] [-c|-l|-q] [-insvxbhwyu] [-p[parasep]] [-e pattern_list...]
-f pattern_file... [file...] Usage: grep [-r] [-R] [-H] [-L] [-E|-F] [-c|-l|-q] [-insvxbhwyu] [-p[parasep]] pattern_list [file...] [11:14:27.700] > Unsupported platform: AIX 3c34c1ea0eaf: start exitCode==35== listeningOn==== osReleaseId==AIX== arch==== tmpDir==/tmp== platform==== unpackResult==== didLocalDownload==0== downloadTime==== installTime==== extInstallTime==== serverStartTime==== 3c34c1ea0eaf: end [11:14:27.701] Received install output: exitCode==35== listeningOn==== osReleaseId==AIX== arch==== tmpDir==/tmp== platform==== unpackResult==== didLocalDownload==0== downloadTime==== installTime==== extInstallTime==== serverStartTime====

[11:14:27.702] Failed to parse remote port from server output [11:14:27.702] Resolver error: Error: at Function.Create (c:\Users\MrX.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.7\out\extension.js:1:64659) at Object.t.handleInstallOutput (c:\Users\MrX.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.7\out\extension.js:1:63302) at Object.t.tryInstall (c:\Users\MrX.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.7\out\extension.js:1:415135) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async c:\Users\MrX.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.7\out\extension.js:1:294918 at async Object.t.withShowDetailsEvent (c:\Users\MrX.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.7\out\extension.js:1:406463) at async Object.t.resolve (c:\Users\MrX.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.7\out\extension.js:1:295994) at async c:\Users\MrX.vscode\extensions\ms-vscode-remote.remote-ssh-0.65.7\out\extension.js:127:110656 [11:14:27.706] ------

Raph-xyz avatar Aug 18 '21 09:08 Raph-xyz

Installed GNU version of grep pattern matching utilities, Created ln -sf /opt/freeware/bin/grep_64 /usr/bin/grep, That grep error fixed, but i still unsupported error

[15:07:47.855] > 1e568c6d9f13: running

[15:07:47.893] > Unsupported platform: AIX

1e568c6d9f13: start
exitCode==35== listeningOn==== osReleaseId==AIX==
arch==== tmpDir==/tmp== platform==== unpackResult==== didLocalDownload==0==
downloadTime==== installTime==== extInstallTime====
serverStartTime====
1e568c6d9f13: end

[15:07:47.894] Received install output:
exitCode==35== listeningOn==== osReleaseId==AIX==
arch==== tmpDir==/tmp== platform==== unpackResult==== didLocalDownload==0==
downloadTime==== installTime==== extInstallTime====
serverStartTime====

[15:07:47.894] Failed to parse remote port from server output [15:07:47.895] Resolver error: Error: at Function.Create (c:\Users\X215941\OneDrive - GROUP DIGITAL WORKPLACE\Documents\Tools\VSCode-win32-x64-1.63.2\data\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:430425) at Object.t.handleInstallOutput (c:\Users\X215941\OneDrive - GROUP DIGITAL WORKPLACE\Documents\Tools\VSCode-win32-x64-1.63.2\data\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:429068) at Object.t.tryInstall (c:\Users\X215941\OneDrive - GROUP DIGITAL WORKPLACE\Documents\Tools\VSCode-win32-x64-1.63.2\data\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:524212) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async c:\Users\X215941\OneDrive - GROUP DIGITAL WORKPLACE\Documents\Tools\VSCode-win32-x64-1.63.2\data\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:487216 at async Object.t.withShowDetailsEvent (c:\Users\X215941\OneDrive - GROUP DIGITAL WORKPLACE\Documents\Tools\VSCode-win32-x64-1.63.2\data\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:490561) at async Object.t.resolve (c:\Users\X215941\OneDrive - GROUP DIGITAL WORKPLACE\Documents\Tools\VSCode-win32-x64-1.63.2\data\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:488295) at async c:\Users\X215941\OneDrive - GROUP DIGITAL WORKPLACE\Documents\Tools\VSCode-win32-x64-1.63.2\data\extensions\ms-vscode-remote.remote-ssh-0.70.0\out\extension.js:1:564197 [15:07:47.903] ------

[15:07:49.690] "install" terminal command done [15:07:49.690] Install terminal quit with output:

Do you know how can i modify list of OS supported ?

thanks.

Aabderahim avatar Jan 27 '22 14:01 Aabderahim

Agree it .Hope will support AIX

ifirxl avatar Jun 19 '22 10:06 ifirxl

Any chance, this may be tackled in the nearer future?

knmiecc avatar Jul 15 '22 07:07 knmiecc

Many companies still depend on AIX but can't use VS Code due to the lack of ssh connectivity. Therefore seeking alternative products.

BriRoCh avatar Sep 01 '22 08:09 BriRoCh

I am an IBMer and really want to have AIX supported lol .... I don't want to play with vim every day :(

laihaotao avatar Oct 26 '22 03:10 laihaotao

We would also like this to be implemented. It would make many activities much faster

massimosil avatar Dec 21 '22 09:12 massimosil

This is disappointing that AIX is still not supported. It makes up half of our *nix environment.

bob109 avatar Mar 01 '23 15:03 bob109

Agreed, our company has a large AIX base as well.
This approach is surely exciting for upcoming development efforts.

mlaskie avatar Mar 05 '23 14:03 mlaskie

I would also like to request this functionality. Long time AIX admin needing to integrate modern tools for development.

Don't make me take this to the VUG...

jodytek avatar Apr 25 '23 14:04 jodytek

+1 to the need of AIX support.

dbmill avatar May 03 '23 13:05 dbmill

+1

alexvulpe avatar May 23 '23 18:05 alexvulpe

+1

Riorlan avatar Jul 05 '23 09:07 Riorlan

+1

asalih avatar Jul 11 '23 12:07 asalih

+1. Has any one been able to get an alternate tool to do remote development for AIX. ?

suchismith1993 avatar Aug 24 '23 09:08 suchismith1993

+1

bova avatar Aug 24 '23 09:08 bova

Notepad++ is the best I’ve been able to come up withThanks,               JodyOn Aug 24, 2023, at 4:02 AM, suchismith1993 @.***> wrote: +1. Has any one been able to get an alternate tool to do remote development for AIX. ?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

jodytek avatar Aug 24 '23 15:08 jodytek

+10086

vipfrog avatar Jan 16 '24 07:01 vipfrog

+1 It would be really helpful.

Saul-Tarvitz avatar Feb 27 '24 09:02 Saul-Tarvitz

+1

Toufa7 avatar Mar 22 '24 09:03 Toufa7

+1 we would like to have this

tblok avatar May 02 '24 08:05 tblok

Missing remote support on AIX

kesavanm avatar Jun 19 '24 17:06 kesavanm

+1 would also be important for development for us

sboldt1978 avatar Jun 21 '24 11:06 sboldt1978

+1 we would like to have this

kashwy avatar Sep 07 '24 20:09 kashwy