From b4f68767a3ec1f8bf8b3ec265d64f94fb619400b Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Mon, 26 Oct 2020 15:45:06 +0100 Subject: [PATCH] make default key type RSA instead of DSA --- helper/communicator/step_ssh_keygen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/communicator/step_ssh_keygen.go b/helper/communicator/step_ssh_keygen.go index d05c488c8..3bdf2899b 100644 --- a/helper/communicator/step_ssh_keygen.go +++ b/helper/communicator/step_ssh_keygen.go @@ -37,7 +37,7 @@ func (s *StepSSHKeyGen) Run(ctx context.Context, state multistep.StateBag) multi algorithm := s.SSHTemporaryKeyPair.SSHTemporaryKeyPairType if algorithm == "" { - algorithm = sshkey.DSA.String() + algorithm = sshkey.RSA.String() } a, err := sshkey.AlgorithmString(algorithm) if err != nil {