Merge pull request #7545 from dokku/let-sshcommand-validate

feat: delegate authorized_keys file validation to sshcommand
This commit is contained in:
Jose Diaz-Gonzalez
2025-02-26 09:34:08 -06:00
committed by GitHub
2 changed files with 4 additions and 5 deletions

View File

@@ -42,10 +42,10 @@
},
{
"name": "sshcommand",
"version": "0.18.0",
"version": "0.19.0",
"urls": {
"amd64": "https://github.com/dokku/sshcommand/releases/download/v0.18.0/sshcommand",
"arm64": "https://github.com/dokku/sshcommand/releases/download/v0.18.0/sshcommand"
"amd64": "https://github.com/dokku/sshcommand/releases/download/v0.19.0/sshcommand",
"arm64": "https://github.com/dokku/sshcommand/releases/download/v0.19.0/sshcommand"
}
}
],
@@ -93,4 +93,4 @@
}
}
]
}
}

View File

@@ -23,7 +23,6 @@ cmd-ssh-keys-list() {
FORMAT=""
fi
verify_ssh_key_file
if [[ "$FORMAT" == "json" ]]; then
if [[ -n "$NAME" ]]; then
sshcommand list dokku "" "$FORMAT" | jq -cM "[.[] | select(.name == \"$NAME\")]"