diff --git a/src/main/java/com/cloudbees/jenkins/plugins/sshcredentials/impl/BasicSSHUserPrivateKey.java b/src/main/java/com/cloudbees/jenkins/plugins/sshcredentials/impl/BasicSSHUserPrivateKey.java index 5f571d4..7a278f1 100644 --- a/src/main/java/com/cloudbees/jenkins/plugins/sshcredentials/impl/BasicSSHUserPrivateKey.java +++ b/src/main/java/com/cloudbees/jenkins/plugins/sshcredentials/impl/BasicSSHUserPrivateKey.java @@ -497,7 +497,7 @@ public UsersPrivateKeySource() { private List files() { List files = new ArrayList(); File sshHome = new File(new File(System.getProperty("user.home")), ".ssh"); - for (String keyName : Arrays.asList("id_ecdsa", "id_rsa", "id_dsa", "identity")) { + for (String keyName : Arrays.asList("id_ecdsa", "id_ed25519", "id_rsa", "id_dsa", "identity")) { File key = new File(sshHome, keyName); if (key.isFile()) { files.add(key); diff --git a/src/main/resources/com/cloudbees/jenkins/plugins/sshcredentials/impl/BasicSSHUserPrivateKey/UsersPrivateKeySource/help.html b/src/main/resources/com/cloudbees/jenkins/plugins/sshcredentials/impl/BasicSSHUserPrivateKey/UsersPrivateKeySource/help.html index b413d30..0c4e115 100644 --- a/src/main/resources/com/cloudbees/jenkins/plugins/sshcredentials/impl/BasicSSHUserPrivateKey/UsersPrivateKeySource/help.html +++ b/src/main/resources/com/cloudbees/jenkins/plugins/sshcredentials/impl/BasicSSHUserPrivateKey/UsersPrivateKeySource/help.html @@ -2,6 +2,7 @@ The following files will be read if present:
  • ~/.ssh/id_ecdsa
  • +
  • ~/.ssh/id_ed25519
  • ~/.ssh/id_rsa
  • ~/.ssh/id_dsa
  • ~/.ssh/identity