-
Notifications
You must be signed in to change notification settings - Fork 313
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 ssh to IBM i #520
Comments
Possibly related to #19 |
I don't think this is related to #19. As the error notes, only Linux x86_64 ssh hosts are supported at the moment I've marked this as a feature request to support connecting to IBM i machines |
It will be desirable to support any POSIX SSH server in any platform/architecture. For example, in my daily use of VSCode Remote SSH (in testing at time) I compile manually with SERVER REQUIREMENTS:
I hope someday this will be true. 🍷 |
Can anybody identify where the source code for this would be? I'd love to help make this happen and can send a PR, but unfortunately, I'm having trouble finding the correct repository to even begin looking at this. Any insight is appreciated. |
Any update on this request? |
Looking at the picture here, it would seem that the remote system has to be able to run a "VS Code Server", whatever that entails. I would not be at all surprised if getting such a thing to run on IBM i is nontrivial. |
Looking at it the server runs on node which is supported on IBMi I have used the instructions here to extract the linux bundle and put in on the public IBMi hosted at pub400.com. Node is installed on the IBMi
However the version of node bundled with the extension does not work The server.sh script does not work as it calls ./node
However
seems to work partially, but with errors:
However even with that the installer still has errors:
although these seem to be down to the script detecting the OS version deliberately throwing an error does anyone know if the extension and server code is open source? I'm sure the community could add support given time |
Right. Arbitrary versions of node are not going to work on IBM i. The quirks of the platform are such that, at least for now, a lot of key software has to be ported by people who know IBM i well enough. The installed version is one provided by IBM.
It may well be that more tweaking has to be done by people in the know (which doesn't include me), but one thing to note is that many Unix-like utilities on IBM i come in two flavors. The older flavor predates IBM's recent expansion of open source available on the platform, and is usually the one that will be used if you haven't configured your shell. The newer stuff is much closer to what you would find on mainstream Unix or Linux distributions. This newer stuff all lives in /QOpenSys/pkgs/bin, which isn't in PATH by default. |
Steps to Reproduce:
Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes
The system is not unreachable. I am using SSH FS anyway, but was hoping to utilise this to make use of the git client working on the remote server.
The text was updated successfully, but these errors were encountered: