mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
Merge pull request #7545 from dokku/let-sshcommand-validate
feat: delegate authorized_keys file validation to sshcommand
This commit is contained in:
@@ -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 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -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\")]"
|
||||
|
||||
Reference in New Issue
Block a user