Skip to content

Allow specifying the ssh port in the config file for build-remote.pl #724

@basvandijk

Description

@basvandijk

I would like to use the nix.buildMachines NixOS option but my build machine has SSH listening on a non standard port. So it would be nice if the config file for the build hook build-remote.pl could specify the SSH port.

I'm not sure what syntax is best. Either:

nix@mcflurry.labs.cs.uu.nl  -p 223  powerpc-darwin  /home/nix/.ssh/id_quarterpounder_auto  2
nix@scratchy.labs.cs.uu.nl          i686-linux      /home/nix/.ssh/id_scratchy_auto        8 1 kvm
nix@itchy.labs.cs.uu.nl     -p 2233 i686-linux      /home/nix/.ssh/id_scratchy_auto        8 2
nix@poochie.labs.cs.uu.nl           i686-linux      /home/nix/.ssh/id_scratchy_auto        8 2 kvm perf

or:

nix@mcflurry.labs.cs.uu.nl:223 powerpc-darwin  /home/nix/.ssh/id_quarterpounder_auto  2
nix@scratchy.labs.cs.uu.nl     i686-linux      /home/nix/.ssh/id_scratchy_auto        8 1 kvm
nix@itchy.labs.cs.uu.nl:2233   i686-linux      /home/nix/.ssh/id_scratchy_auto        8 2
nix@poochie.labs.cs.uu.nl      i686-linux      /home/nix/.ssh/id_scratchy_auto        8 2 kvm perf

I guess the former is more SSH-like.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions