hydra-queue-runner: Improve SSH flags

[?]
Jun 17, 2015, 10:50 PM
5Q7X5FPJOHJENJDPKMAAZE4PDWN6YUUWAKTX4LJEH7HUEC3KCWMQC

Dependencies

  • [2] WKJFPR77 hydra-queue-runner: Maintain count of active build steps
  • [3] 5AIYUMTB Basic remote building
  • [4] ZSBPKI2P Pass ssh key

Change contents

  • edit in src/hydra-queue-runner/build-remote.cc at line 42
    [3.917][2.0:45]()
    // FIXME: ensure no password prompt.
  • replacement in src/hydra-queue-runner/build-remote.cc at line 43
    [2.83][3.0:107](),[3.917][3.0:107]()
    Strings argv({"ssh", sshName, "-i", sshKey, "-x", "-a", "--", "nix-store", "--serve", "--write"});
    [2.83]
    [3.1010]
    Strings argv(
    { "ssh", sshName, "-i", sshKey, "-x", "-a"
    , "-oBatchMode=yes", "-oConnectTimeout=60", "-oTCPKeepAlive=yes"
    , "--", "nix-store", "--serve", "--write" });