forked from lix-project/lix
build-remote: Fix passing SSH key
This commit is contained in:
parent
5a1fb03b8f
commit
7f62be1bcd
|
@ -233,7 +233,7 @@ int main (int argc, char * * argv)
|
||||||
lock = -1;
|
lock = -1;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
sshStore = openStore("ssh://" + bestMachine->hostName + "?key=" + bestMachine->sshKey);
|
sshStore = openStore("ssh://" + bestMachine->hostName + "?ssh-key=" + bestMachine->sshKey);
|
||||||
hostName = bestMachine->hostName;
|
hostName = bestMachine->hostName;
|
||||||
} catch (std::exception & e) {
|
} catch (std::exception & e) {
|
||||||
printError("unable to open SSH connection to ‘%s’: %s; trying other available machines...",
|
printError("unable to open SSH connection to ‘%s’: %s; trying other available machines...",
|
||||||
|
|
Loading…
Reference in a new issue