From cbf6c2b3c2f602ca1284d92d4e0ef19ece799439 Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Mon, 1 Mar 2021 11:31:50 +0000 Subject: [PATCH] Also try AddKeysToAgent=yes --- dist/index.js | 1 + index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/index.js b/dist/index.js index fa02d6b..862e0a4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -216,6 +216,7 @@ try { + ` HostName github.com\n` + ` User git\n` + ` IdentitiesOnly no\n` + + ` AddKeysToAgent yes\n` + ` IdentityFile ${keyFile}\n`; fs.appendFileSync(`${homeSsh}/config`, sshConfig); diff --git a/index.js b/index.js index 2aa6a81..7496a71 100644 --- a/index.js +++ b/index.js @@ -99,6 +99,7 @@ try { + ` HostName github.com\n` + ` User git\n` + ` IdentitiesOnly no\n` + + ` AddKeysToAgent yes\n` + ` IdentityFile ${keyFile}\n`; fs.appendFileSync(`${homeSsh}/config`, sshConfig);