ssh-keys updates based on feedback

This commit is contained in:
Justin Clark
2016-07-01 11:42:16 -07:00
parent 283ed52520
commit 2d0374ec52
5 changed files with 9 additions and 6 deletions

View File

@@ -1,10 +1,11 @@
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_CORE_AVAILABLE_PATH/ssh-keys/functions"
source "$PLUGIN_AVAILABLE_PATH/ssh-keys/functions"
remove_key() {
declare desc="Removes key from authorized_keys"
local cmd="ssh-keys:remove"
shift
local name="$1"
verify_ssh_key_file