Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

SshConnection does not honor its timeout parameter #725

Description

@douglas-raillard-arm

The timeout parameter on connection types is supposed to be how long to wait when trying to establish a connection to the target. That parameter is currently passed to paramiko's SSHClient() timeout parameter, which is documented as:

timeout (float) – an optional timeout (in seconds) for the TCP connect

https://docs.paramiko.org/en/stable/api/client.html

Long before that timeout, we get the following error:

SSH logic error: Error reading SSH protocol banner

Some other timeouts (banner_timeout ?) probably need to be set to achieve the behavior we want in devlib.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions