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 {