Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support remote SSH development on AIX #3059

Open
Dshamgar opened this issue May 27, 2020 · 26 comments
Open

Support remote SSH development on AIX #3059

Dshamgar opened this issue May 27, 2020 · 26 comments
Labels
feature-request Request for new features or functionality ssh Issue in vscode-remote SSH

Comments

@Dshamgar
Copy link

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

@chrmarti chrmarti added feature-request Request for new features or functionality ssh Issue in vscode-remote SSH labels Jun 3, 2020
@panchals17
Copy link

Agree with @Dshamgar

@torinreilly
Copy link

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] ------

@waltlillyman
Copy link

Agree w/ @Dshamgar

@ponchofiesta
Copy link

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.

@stuboydl
Copy link

stuboydl commented May 6, 2021

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

@Raph-xyz
Copy link

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] ------

@Aabderahim
Copy link

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.

@ifirxl
Copy link

ifirxl commented Jun 19, 2022

Agree it .Hope will support AIX

@knmiecc
Copy link

knmiecc commented Jul 15, 2022

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

@BriRoCh
Copy link

BriRoCh commented Sep 1, 2022

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

@laihaotao
Copy link

laihaotao commented Oct 26, 2022

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

@massimosil
Copy link

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

@bob109
Copy link

bob109 commented Mar 1, 2023

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

@mlaskie
Copy link

mlaskie commented Mar 5, 2023

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

@jodytek
Copy link

jodytek commented Apr 25, 2023

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...

@dbmill
Copy link

dbmill commented May 3, 2023

+1 to the need of AIX support.

@alexvulpe
Copy link

+1

2 similar comments
@Riorlan
Copy link

Riorlan commented Jul 5, 2023

+1

@asalih
Copy link

asalih commented Jul 11, 2023

+1

@suchismith1993
Copy link

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

@bova
Copy link

bova commented Aug 24, 2023

+1

@jodytek
Copy link

jodytek commented Aug 24, 2023 via email

@vipfrog
Copy link

vipfrog commented Jan 16, 2024

+10086

@Saul-Tarvitz
Copy link

+1 It would be really helpful.

@Toufa7
Copy link

Toufa7 commented Mar 22, 2024

+1

@tblok
Copy link

tblok commented May 2, 2024

+1 we would like to have this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests