Codefori dropping SSH connections #3143
Unanswered
ptc-abrown
asked this question in
Q&A
Replies: 1 comment
-
|
Hi @ptc-abrown , And for what it's worth, VSCode remote SSH is an optional, separate extension - it doesn't seem to export any kind of API anyway. Turns out this particular field from the SSH client is manageable from the connection settings:
You can use a private key to connect; it can be set in the connection settings as well: Hope this helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
-
So the modal dialog when this happens is just downright irritating - but overlooking that, when I (terminal) ssh from my mac all three partitions on our PowerSystem running IBMi I have to add this to my ~/.ssh/config
ServerAliveInterval=15
After which I never get lost SSH command line connections.
I have looked high and low for a place to configure this on codefori ettings. As far as I can tell it does not use the VSCode remote ssh but uses its own copy and so it does not look in ~/.ssh/confg (On Linux and Mac - probably also on Windows somewhere that no one can find).
Without relying on the VScode settings you gain nothing from your login settings. Now I know that (because I use MKS Toolkit) I am one of few with a commend line ssh client that behaves like Linux/Mac - although of late it seems like Microsoft is trying their best to create an ssh client and server (so far with limited success at best), and so probably most people using codefori are probably on Windows and do not have any existing environment from which to learn settings. Mac and Linux users however...
So is this a bug? Well sort of - there ought to be a way to configure the ssh client.
Or is there a way to configure that custom client codefori imports? I did not find anything and AI searches seem to think I would have to change codefori sources to accomplish this.
Yes I am sure there is an ssh server side change I can make. But IBMi 7.5 and 7.6 do not default with that enabled.
I seem to recall you can use a certificate fo login - and then it needs a password for service entry points - which makes sense. But the extension does not learn about the certificate from machine ssh settings either.
Beta Was this translation helpful? Give feedback.
All reactions