diff --git a/bin/ssh-proxy b/bin/ssh-proxy index 556eff3..ee5d0c2 100755 --- a/bin/ssh-proxy +++ b/bin/ssh-proxy @@ -29,7 +29,7 @@ case ${1} in exit 1 ;; esac -if [ "${2}" == "" ]; then +if [ "${2}" == "" ] || [[ "${2}" == */* ]]; then showHelp exit 1 fi