更新 ssh/restrict_ssh_access/restrict_ssh_access.sh

This commit is contained in:
Randall 2024-07-05 11:16:40 +08:00
parent 7a02b80374
commit 1e548dc689

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# 获取命令行参数 # 获取命令行参数
while getopts "4:6:" opt; do while getopts ":4:6:" opt; do
case $opt in case $opt in
4) ALLOWED_IPV4="$OPTARG" 4) ALLOWED_IPV4="$OPTARG"
;; ;;