Also try AddKeysToAgent=yes

This commit is contained in:
Matthias Pigulla 2021-03-01 11:31:50 +00:00
parent 2bcaae34da
commit cbf6c2b3c2
2 changed files with 2 additions and 0 deletions

1
dist/index.js vendored
View file

@ -216,6 +216,7 @@ try {
+ ` HostName github.com\n` + ` HostName github.com\n`
+ ` User git\n` + ` User git\n`
+ ` IdentitiesOnly no\n` + ` IdentitiesOnly no\n`
+ ` AddKeysToAgent yes\n`
+ ` IdentityFile ${keyFile}\n`; + ` IdentityFile ${keyFile}\n`;
fs.appendFileSync(`${homeSsh}/config`, sshConfig); fs.appendFileSync(`${homeSsh}/config`, sshConfig);

View file

@ -99,6 +99,7 @@ try {
+ ` HostName github.com\n` + ` HostName github.com\n`
+ ` User git\n` + ` User git\n`
+ ` IdentitiesOnly no\n` + ` IdentitiesOnly no\n`
+ ` AddKeysToAgent yes\n`
+ ` IdentityFile ${keyFile}\n`; + ` IdentityFile ${keyFile}\n`;
fs.appendFileSync(`${homeSsh}/config`, sshConfig); fs.appendFileSync(`${homeSsh}/config`, sshConfig);