mirror of
https://github.com/webfactory/ssh-agent.git
synced 2026-11-04 22:16:31 +03:00
Remove "IdentitiesOnly"
This commit is contained in:
1 parent
2a421d8dab
commit
05624726bc
2 files changed
+2
-4
No files matched your search
Vendored
+1
-2
@@ -195,8 +195,7 @@ try {
|
|||||||
let sshConfig = `\nHost ${sha256}\n`
|
let sshConfig = `\nHost ${sha256}\n`
|
||||||
+ ` HostName github.com\n`
|
+ ` HostName github.com\n`
|
||||||
+ ` User git\n`
|
+ ` User git\n`
|
||||||
+ ` IdentityFile ${homeSsh}/${sha256}\n`
|
+ ` IdentityFile ${homeSsh}/${sha256}\n`;
|
||||||
+ ` IdentitiesOnly yes\n`;
|
|
||||||
|
|
||||||
fs.appendFileSync(`${homeSsh}/config`, sshConfig);
|
fs.appendFileSync(`${homeSsh}/config`, sshConfig);
|
||||||
|
|
||||||
|
|||||||
@@ -78,8 +78,7 @@ try {
|
|||||||
let sshConfig = `\nHost ${sha256}\n`
|
let sshConfig = `\nHost ${sha256}\n`
|
||||||
+ ` HostName github.com\n`
|
+ ` HostName github.com\n`
|
||||||
+ ` User git\n`
|
+ ` User git\n`
|
||||||
+ ` IdentityFile ${homeSsh}/${sha256}\n`
|
+ ` IdentityFile ${homeSsh}/${sha256}\n`;
|
||||||
+ ` IdentitiesOnly yes\n`;
|
|
||||||
|
|
||||||
fs.appendFileSync(`${homeSsh}/config`, sshConfig);
|
fs.appendFileSync(`${homeSsh}/config`, sshConfig);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user