From 5e4ad4bcc8eb93328c0a4eaaf472274f471a8a2b Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Sat, 27 Feb 2021 18:25:44 +0000 Subject: [PATCH] Explicitly disable IdentitiesOnly --- dist/index.js | 1 + index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/index.js b/dist/index.js index 557ea38..0ac7891 100644 --- a/dist/index.js +++ b/dist/index.js @@ -195,6 +195,7 @@ try { let sshConfig = `\nHost ${sha256}\n` + ` HostName github.com\n` + ` User git\n` + + ` IdentitiesOnly no\n` + ` IdentityFile ${homeSsh}/${sha256}\n`; fs.appendFileSync(`${homeSsh}/config`, sshConfig); diff --git a/index.js b/index.js index 5e42acd..d36af93 100644 --- a/index.js +++ b/index.js @@ -78,6 +78,7 @@ try { let sshConfig = `\nHost ${sha256}\n` + ` HostName github.com\n` + ` User git\n` + + ` IdentitiesOnly no\n` + ` IdentityFile ${homeSsh}/${sha256}\n`; fs.appendFileSync(`${homeSsh}/config`, sshConfig);