Skip to content

Support customizable SSH connection timeout #21527

@andor44

Description

@andor44

Summary

Hard coded 10-second ssh timeout is not suitable for all environments.

Description

Currently there is a hardcoded 10-seconds connection timeout for SSH, see here:

let connection_timeout = Duration::from_secs(10);

I run SSH over various tunnelling and proxying mechanisms which sometimes takes more than 10 seconds to establish, so despite the connection being stable and usable I'll sometimes have a hard time just to get connected. Once I am connected the remote session works well, but getting that initial connection because of this hardcoded timeout can be difficult.

This timeout should either be configurable or greatly increased.

Metadata

Metadata

Assignees

Labels

area:networkNetwork connectivity issues, protocols and services supportnever staleto keep the stalebot awayplatform:remoteRemote development, SSH and zed-remote-server

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions