From 05624726bcca2af9cc3357379de3f2b8e84d232c Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Sat, 27 Feb 2021 11:00:51 +0000 Subject: [PATCH] Remove "IdentitiesOnly" --- dist/index.js | 3 +-- index.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index ac64344..238b3f1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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); diff --git a/index.js b/index.js index cf7b562..e1dfe3a 100644 --- a/index.js +++ b/index.js @@ -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);