Remove "IdentitiesOnly"

This commit is contained in:
Matthias Pigulla 2021-02-27 11:00:51 +00:00
parent 2a421d8dab
commit 05624726bc
2 changed files with 2 additions and 4 deletions

3
dist/index.js vendored
View file

@ -195,8 +195,7 @@ try {
let sshConfig = `\nHost ${sha256}\n`
+ ` HostName github.com\n`
+ ` User git\n`
+ ` IdentityFile ${homeSsh}/${sha256}\n`
+ ` IdentitiesOnly yes\n`;
+ ` IdentityFile ${homeSsh}/${sha256}\n`;
fs.appendFileSync(`${homeSsh}/config`, sshConfig);

View file

@ -78,8 +78,7 @@ try {
let sshConfig = `\nHost ${sha256}\n`
+ ` HostName github.com\n`
+ ` User git\n`
+ ` IdentityFile ${homeSsh}/${sha256}\n`
+ ` IdentitiesOnly yes\n`;
+ ` IdentityFile ${homeSsh}/${sha256}\n`;
fs.appendFileSync(`${homeSsh}/config`, sshConfig);