mirror of
https://github.com/webfactory/ssh-agent.git
synced 2024-11-27 03:13:17 +00:00
Also try AddKeysToAgent=yes
This commit is contained in:
parent
2bcaae34da
commit
cbf6c2b3c2
2 changed files with 2 additions and 0 deletions
1
dist/index.js
vendored
1
dist/index.js
vendored
|
@ -216,6 +216,7 @@ try {
|
|||
+ ` HostName github.com\n`
|
||||
+ ` User git\n`
|
||||
+ ` IdentitiesOnly no\n`
|
||||
+ ` AddKeysToAgent yes\n`
|
||||
+ ` IdentityFile ${keyFile}\n`;
|
||||
|
||||
fs.appendFileSync(`${homeSsh}/config`, sshConfig);
|
||||
|
|
1
index.js
1
index.js
|
@ -99,6 +99,7 @@ try {
|
|||
+ ` HostName github.com\n`
|
||||
+ ` User git\n`
|
||||
+ ` IdentitiesOnly no\n`
|
||||
+ ` AddKeysToAgent yes\n`
|
||||
+ ` IdentityFile ${keyFile}\n`;
|
||||
|
||||
fs.appendFileSync(`${homeSsh}/config`, sshConfig);
|
||||
|
|
Loading…
Reference in a new issue