#!/bin/bash if [[ -z "${SSH_ORIGINAL_COMMAND}" ]]; then echo "usage: vos release " exit 1 fi set -- $SSH_ORIGINAL_COMMAND if [[ $# != 3 || $1 != "vos" || $2 != "release" ]]; then echo "usage: vos release " exit 1 fi sudo vos release -id $3 -verbose -localauth