Merge pull request #7545 from dokku/let-sshcommand-validate
feat: delegate authorized_keys file validation to sshcommand
This commit is contained in:
2 files changed
+3
-4
No files matched your search
@@ -42,10 +42,10 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sshcommand",
|
"name": "sshcommand",
|
||||||
"version": "0.18.0",
|
"version": "0.19.0",
|
||||||
"urls": {
|
"urls": {
|
||||||
"amd64": "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.18.0/sshcommand"
|
"arm64": "https://github.com/dokku/sshcommand/releases/download/v0.19.0/sshcommand"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ cmd-ssh-keys-list() {
|
|||||||
FORMAT=""
|
FORMAT=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
verify_ssh_key_file
|
|
||||||
if [[ "$FORMAT" == "json" ]]; then
|
if [[ "$FORMAT" == "json" ]]; then
|
||||||
if [[ -n "$NAME" ]]; then
|
if [[ -n "$NAME" ]]; then
|
||||||
sshcommand list dokku "" "$FORMAT" | jq -cM "[.[] | select(.name == \"$NAME\")]"
|
sshcommand list dokku "" "$FORMAT" | jq -cM "[.[] | select(.name == \"$NAME\")]"
|
||||||
|
|||||||
Reference in new issue
Block a user