Remove "IdentitiesOnly"
This commit is contained in:
parent
2a421d8dab
commit
05624726bc
2 changed files with 2 additions and 4 deletions
3
dist/index.js
vendored
3
dist/index.js
vendored
|
@ -195,8 +195,7 @@ try {
|
||||||
let sshConfig = `\nHost ${sha256}\n`
|
let sshConfig = `\nHost ${sha256}\n`
|
||||||
+ ` HostName github.com\n`
|
+ ` HostName github.com\n`
|
||||||
+ ` User git\n`
|
+ ` User git\n`
|
||||||
+ ` IdentityFile ${homeSsh}/${sha256}\n`
|
+ ` IdentityFile ${homeSsh}/${sha256}\n`;
|
||||||
+ ` IdentitiesOnly yes\n`;
|
|
||||||
|
|
||||||
fs.appendFileSync(`${homeSsh}/config`, sshConfig);
|
fs.appendFileSync(`${homeSsh}/config`, sshConfig);
|
||||||
|
|
||||||
|
|
3
index.js
3
index.js
|
@ -78,8 +78,7 @@ try {
|
||||||
let sshConfig = `\nHost ${sha256}\n`
|
let sshConfig = `\nHost ${sha256}\n`
|
||||||
+ ` HostName github.com\n`
|
+ ` HostName github.com\n`
|
||||||
+ ` User git\n`
|
+ ` User git\n`
|
||||||
+ ` IdentityFile ${homeSsh}/${sha256}\n`
|
+ ` IdentityFile ${homeSsh}/${sha256}\n`;
|
||||||
+ ` IdentitiesOnly yes\n`;
|
|
||||||
|
|
||||||
fs.appendFileSync(`${homeSsh}/config`, sshConfig);
|
fs.appendFileSync(`${homeSsh}/config`, sshConfig);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue