mirror of
https://github.com/webfactory/ssh-agent.git
synced 2025-06-28 13:43:46 +00:00
Use IdentitiesOnly=no
This commit is contained in:
parent
02a6899abb
commit
88bcf9af86
3 changed files with 3 additions and 2 deletions
2
index.js
2
index.js
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue