Explicitly disable IdentitiesOnly

This commit is contained in:
Matthias Pigulla 2021-02-27 18:25:44 +00:00
parent c56b9c4c81
commit 5e4ad4bcc8
2 changed files with 2 additions and 0 deletions

1
dist/index.js vendored
View file

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

View file

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