Skip to content

Pull from Mercurial repositories using SSH #40

@mmuetzel

Description

@mmuetzel

Pulling from the remote Mercurial repositories using HTTPS is getting more and more unreliable. It looks like bad actors (maybe AI scrapers, maybe others) are "congesting" ports on the server hosting the repository.
When that happens, pulling using SSH is still working reasonably fast.

@jweaton is in the process of transitioning more and more interactions with the repositories to use SSH. For this, he created users that have read-only access to these repositories.

The buildbot master and the workers are currently interacting with the MXE Octave repository (on the Digital Ocean droplet) using HTTPS. This master and these workers are running inside docker containers.

@siko1056: I hope it is ok to ping you with this.
Do you know if it is possible to have these docker containers establish SSH connections using the key-pair of the read-only users that @jweaton created? Ideally (or maybe that is a requirement), the private part of the key-pair of these users should not be leaked (here or anywhere else).
We could probably consider the hosts as "safe" where these docker containers execute. Could a containerized ssh somehow access the private key on the host? Or is there another better solution for this?

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