diff --git a/back/services/sshKey.ts b/back/services/sshKey.ts index 89262df5..34951644 100644 --- a/back/services/sshKey.ts +++ b/back/services/sshKey.ts @@ -32,7 +32,7 @@ export default class SshKeyService { } private generateSingleSshConfig(alias: string, host: string): string { - return `\nHost ${alias}\n Hostname ${host}\n IdentityFile=${this.sshPath}/${alias}`; + return `\nHost ${alias}\n Hostname ${host}\n IdentityFile=${this.sshPath}/${alias}\n StrictHostKeyChecking no`; } private generateSshConfig(configs: string[]) {