|
|
@ -6,11 +6,12 @@ export default function sshOptions( |
|
|
|
{ pass, path, command, host, port, auth, knownhosts }: { [s: string]: string }, |
|
|
|
key?: string |
|
|
|
): string[] { |
|
|
|
var hostChecking; |
|
|
|
const cmd = parseCommand(command, path); |
|
|
|
if (knownhosts !== '/dev/null') { |
|
|
|
var hostChecking = 'yes'; |
|
|
|
hostChecking = 'yes'; |
|
|
|
} else { |
|
|
|
var hostChecking = 'no'; |
|
|
|
hostChecking = 'no'; |
|
|
|
} |
|
|
|
const sshRemoteOptsBase = [ |
|
|
|
'ssh', |
|
|
|