diff --git a/plugins/git/internal-functions b/plugins/git/internal-functions index f54d10ff0..b896a119a 100755 --- a/plugins/git/internal-functions +++ b/plugins/git/internal-functions @@ -257,7 +257,7 @@ cmd-git-public-key() { local cmd="git:public-key" [[ "$1" == "$cmd" ]] && shift 1 - if [[ ! -f "$DOKKU_ROOT/.ssh/id_rsa.pub" ]]; then + if [[ ! -f "$DOKKU_ROOT/.ssh/id_rsa.pub" ]] && [[ ! -f "$DOKKU_ROOT/.ssh/id_ed25519.pub" ]] ; then fn-git-auth-error fi