You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not able to repro this, and looking at the code we put the setting value directly into the command the only place we create a ConnectTimeout argument. Can you please share additional logs/repro steps? Also, please verify that you do not have a ConnectTimeout option configured in the SSH host config, as that will be preferred.
@connor4312 I tested again and seems it only doesn't work for "remote.SSH.connectTimeout": 0, I'm trying to disable it as setting a value greater than 0 causes ssh to resolve the host which takes a considerable time in my case.
Also, please verify that you do not have a ConnectTimeout option configured in the SSH host config, as that will be preferred.
That's not what I see, ConnectTimeout from ssh config file is always ignored, I created an issue a long time ago for that #8519
connor4312
added
bug
Issue identified by VS Code Team member as probable bug
and removed
info-needed
Issue requires more information from poster
labels
May 30, 2024
Is there an existing issue for this bug?
Required Troubleshooting Steps
remote.SSH.useLocalServer
settingConnect Locally
It connects successfully
->
remote.SSH.connectTimeout
is not respected in the ssh command used by exec server, I see it uses-o ConnectTimeout=15
alwaysExpected Behavior
remote.SSH.connectTimeout
is respected in the ssh command used by exec serverSteps To Reproduce
No response
Remote-SSH Log
Remote-SSH Log
Anything else?
No response
The text was updated successfully, but these errors were encountered: