|
@ -51,8 +51,8 @@ rebuild-config() { |
|
|
done < <(echo "$keys" | shyaml get-values-0) | file_put "$host_path_key/$ident/.ssh/authorized_keys" |
|
|
done < <(echo "$keys" | shyaml get-values-0) | file_put "$host_path_key/$ident/.ssh/authorized_keys" |
|
|
done < <(echo "$admin_keys" | shyaml -y key-values-0) |
|
|
done < <(echo "$admin_keys" | shyaml -y key-values-0) |
|
|
|
|
|
|
|
|
|
|
|
mkdir -p "${CONTROL_USERS_FILE%/*}" || return 1 |
|
|
e "$control_users" > "$CONTROL_USERS_FILE" |
|
|
e "$control_users" > "$CONTROL_USERS_FILE" |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
local_path_key=/etc/rsync/keys/admin |
|
|
local_path_key=/etc/rsync/keys/admin |
|
|