v1.2.3-test
~增加开启外网远程访问SSH的功能(限openwrt设备) ~修复部分设备始终提示证书错误的bug
This commit is contained in:
Binary file not shown.
@@ -950,7 +950,9 @@ tools(){
|
||||
echo -e "\033[31m当前端口已被其他进程占用,请重新输入!\033[0m"
|
||||
else
|
||||
ssh_port=$num
|
||||
echo -e "\033[32m设置成功!!!\033[0m"
|
||||
setconfig ssh_port $ssh_port
|
||||
sed -i "/启用外网访问SSH服务/d" /etc/firewall.user
|
||||
echo -e "\033[32m设置成功,请重新开启外网访问SSH功能!!!\033[0m"
|
||||
fi
|
||||
sleep 1
|
||||
ssh_tools
|
||||
|
||||
Reference in New Issue
Block a user