cloudron-support: rename enable-ssh to enable-remote-access

This commit is contained in:
Girish Ramakrishnan
2023-12-13 16:21:14 +01:00
parent 9780e4184e
commit 81fe6f884b

View File

@@ -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
;&