diff --git a/scripts/cloudron-support b/scripts/cloudron-support index 41e6bf943..983b594f9 100755 --- a/scripts/cloudron-support +++ b/scripts/cloudron-support @@ -14,7 +14,7 @@ This script collects diagnostic information to help debug server related issues. Options: --owner-login Login as owner - --enable-ssh Enable SSH access for the Cloudron support team + --enable-remote-access Enable SSH Remote Access for the Cloudron support team --reset-appstore-account Reset associated cloudron.io account --help Show this message " @@ -27,13 +27,18 @@ fi enableSSH="false" -args=$(getopt -o "" -l "help,enable-ssh,admin-login,owner-login,reset-appstore-account" -n "$0" -- "$@") +args=$(getopt -o "" -l "help,enable-ssh,enable-remote-access,admin-login,owner-login,reset-appstore-account" -n "$0" -- "$@") eval set -- "${args}" while true; do case "$1" in --help) echo -e "${HELP_MESSAGE}"; exit 0;; - --enable-ssh) enableSSH="true"; shift;; + --enable-remote-access) + # fall through + ;& + --enable-ssh) + enableSSH="true"; + shift;; --admin-login) # fall through ;&