Use IdentitiesOnly=no

This commit is contained in:
Matthias Pigulla 2021-03-01 10:53:18 +00:00
parent 02a6899abb
commit 88bcf9af86
3 changed files with 3 additions and 2 deletions

View file

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