ConnectTimeout=15 in ssh command too short, no override option in settings #1761
Labels
feature-request
Request for new features or functionality
ssh
Issue in vscode-remote SSH
verification-needed
Verification of issue is requested
verified
Verification succeeded
Milestone
When attempting to connect to a remote host using RemoteSSH, I occasionally get connection failures due to timeouts.
The ssh command used includes the option
-o ConnectTimeout=15
, which for certain servers I'm trying to connect to is too short. Looking in the config options for the plugin, I don't see any way to configure ssh options (other than the ssh_config or the path to the command itself).As a workaround, I've added a bash script that filters out the ConnectTimeout option before calling ssh, and pointed vs-code to my bash script instead of the system ssh command. An option to override this in the timeout setting would be preferable.
The text was updated successfully, but these errors were encountered: