Check for both default rsa and ed25519 ssh public key files
This commit is contained in:
1 parent
5af750b469
commit
343a98560b
1 file changed
+1
-1
@@ -257,7 +257,7 @@ cmd-git-public-key() {
|
|||||||
local cmd="git:public-key"
|
local cmd="git:public-key"
|
||||||
[[ "$1" == "$cmd" ]] && shift 1
|
[[ "$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
|
fn-git-auth-error
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user