Remove "IdentitiesOnly"

This commit is contained in:
Matthias Pigulla committed 2021-02-27 11:00:51 +00:00
1 parent 2a421d8dab
commit 05624726bc
2 files changed
+2 -4

No files matched your search

+1 -2
View File
@@ -195,8 +195,7 @@ try {
let sshConfig = `\nHost ${sha256}\n`
+ ` HostName github.com\n`
+ ` User git\n`
+ ` IdentityFile ${homeSsh}/${sha256}\n`
+ ` IdentitiesOnly yes\n`;
+ ` IdentityFile ${homeSsh}/${sha256}\n`;
fs.appendFileSync(`${homeSsh}/config`, sshConfig);
+1 -2
View File
@@ -78,8 +78,7 @@ try {
let sshConfig = `\nHost ${sha256}\n`
+ ` HostName github.com\n`
+ ` User git\n`
+ ` IdentityFile ${homeSsh}/${sha256}\n`
+ ` IdentitiesOnly yes\n`;
+ ` IdentityFile ${homeSsh}/${sha256}\n`;
fs.appendFileSync(`${homeSsh}/config`, sshConfig);