about summary refs log tree commit diff
path: root/src/build-remote
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-03T15·33+0100
committerEelco Dolstra <edolstra@gmail.com>2017-03-03T15·33+0100
commit7f62be1bcd2a228076a6c39eb435ad1931bb66e4 (patch)
treef14ad709f0c70971241d85a6eaa0b33716979f0b /src/build-remote
parent5a1fb03b8fc32fd93708f5030537dd580910a35a (diff)
build-remote: Fix passing SSH key
Diffstat (limited to 'src/build-remote')
-rw-r--r--src/build-remote/build-remote.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-remote/build-remote.cc b/src/build-remote/build-remote.cc
index fe68b4cd8c4c..fd710c2b6b71 100644
--- a/src/build-remote/build-remote.cc
+++ b/src/build-remote/build-remote.cc
@@ -233,7 +233,7 @@ int main (int argc, char * * argv)
                 lock = -1;
 
                 try {
-                    sshStore = openStore("ssh://" + bestMachine->hostName + "?key=" + bestMachine->sshKey);
+                    sshStore = openStore("ssh://" + bestMachine->hostName + "?ssh-key=" + bestMachine->sshKey);
                     hostName = bestMachine->hostName;
                 } catch (std::exception & e) {
                     printError("unable to open SSH connection to ‘%s’: %s; trying other available machines...",