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…
	
	Add table
		Add a link
		
	
		Reference in a new issue