mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-24 07:16:08 +08:00
修改生成ssh配置
This commit is contained in:
parent
deb124ae23
commit
8011b4b793
|
@ -32,7 +32,7 @@ export default class SshKeyService {
|
||||||
}
|
}
|
||||||
|
|
||||||
private generateSingleSshConfig(alias: string, host: string): string {
|
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[]) {
|
private generateSshConfig(configs: string[]) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user