feat: add the ability to list ssh keys for a specific user

Also upgrade the version of sshcommand used within the vagrant vm
This commit is contained in:
Jose Diaz-Gonzalez
2020-04-04 02:23:38 -04:00
parent e86f49e64a
commit c91a6d1a55
6 changed files with 148 additions and 51 deletions

View File

@@ -8,9 +8,10 @@ cmd-ssh-keys-list() {
declare desc="List ssh key hashes"
declare cmd="ssh-keys:list"
[[ "$1" == "$cmd" ]] && shift 1
declare SSH_NAME="$1"
verify_ssh_key_file
sshcommand list dokku
sshcommand list dokku "$SSH_NAME"
}
cmd-ssh-keys-list "$@"