mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 00:06:16 +02:00
build-remote: Fix passing SSH key
This commit is contained in:
parent
5a1fb03b8f
commit
7f62be1bcd
1 changed files with 1 additions and 1 deletions
|
@ -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...",
|
||||
|
|
Loading…
Reference in a new issue