From 7f62be1bcd2a228076a6c39eb435ad1931bb66e4 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 3 Mar 2017 16:33:18 +0100 Subject: [PATCH] build-remote: Fix passing SSH key --- src/build-remote/build-remote.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build-remote/build-remote.cc b/src/build-remote/build-remote.cc index fe68b4cd8..fd710c2b6 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...",