Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

SSH connection drops if command takes too long #4450

@krufab

Description

@krufab

When using "docker-machine ssh" with a command that takes several minutes to execute, the ssh connection is dropped.
For example, when issuing "docker-machine ssh theMachine docker-compose pull" and the docker images are big, then the connection drops.
docker-machine ssh should use the SSH option ServerAliveInterval=60 among the default SSH options.

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