build-remote: Fix passing SSH key
This commit is contained in:
@@ -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...",
|
||||
|
||||
Reference in New Issue
Block a user