From 851d92a140284b51fe8964b7f3ae48ae915af2ab Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sun, 16 Feb 2020 21:25:52 +0100 Subject: [PATCH] fixed private key handling (fixed #2018, fixed #2053, fixed #1966) --- terminus-ssh/src/services/ssh.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminus-ssh/src/services/ssh.service.ts b/terminus-ssh/src/services/ssh.service.ts index 4b738a14..d228753d 100644 --- a/terminus-ssh/src/services/ssh.service.ts +++ b/terminus-ssh/src/services/ssh.service.ts @@ -104,7 +104,7 @@ export class SSHService { } } - privateKey = parsedKey!.toString('ssh') + privateKey = parsedKey!.toString('pem') } }