v1.2.3-test

~增加开启外网远程访问SSH的功能(限openwrt设备)
~修复部分设备始终提示证书错误的bug
This commit is contained in:
juewuy
2021-04-15 17:02:36 +08:00
parent 6945287e11
commit ffeb43d127
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

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