From ab70230a1a1542976ff3ec4a6ced1d057bc96ea6 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Tue, 18 Jun 2024 21:57:37 -0600 Subject: [PATCH] Show ssh key in logs --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 41f0520..d4fcf58 100644 --- a/index.js +++ b/index.js @@ -16,6 +16,7 @@ const keyPath = path.join(__dirname, '.ssh'); const keyFiles = fs.readdirSync(keyPath); const keyFile = keyFiles[0]; // read the key file +console.log(`Using key file: ${keyFile}`); const privateKey = fs.readFileSync(".ssh/" + keyFile, 'utf8'); // FreePBX GraphQL Client