更新 ssh/restrict_ssh_access/restrict_ssh_access.sh
This commit is contained in:
parent
7a02b80374
commit
1e548dc689
@ -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"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user