make default key type RSA instead of DSA

pull/10111/head
Adrien Delorme 5 years ago
parent 522d122858
commit b4f68767a3

@ -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 {

Loading…
Cancel
Save