mirror of
https://github.com/webfactory/ssh-agent.git
synced 2026-11-04 22:16:31 +03:00
Also try AddKeysToAgent=yes
This commit is contained in:
1 parent
2bcaae34da
commit
cbf6c2b3c2
2 files changed
+2
No files matched your search
Vendored
+1
@@ -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);
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user