Failed running command

Failed running command

WARNING: Failed running command (–auth-user-pass-verify): external program exited with error status: 1
192.168.1.122:52458 TLS Auth Error: Auth Username/Password verification failed for peer

尝试排除方法:

1、检查server.conf中是否存以下参数:

tls-auth /etc/open/server/files/ta.key 0
script-security 3

2、脚本权限:
[root@sed server]# ls -l auth.sh
-rw-r–r-x 1 root root 825 Nov 23 08:56 auth.sh

3、测试脚本:从脚本代码中发现问题:我的是正常的。

[root@sed server]# bash -x auth.sh 
+ PASSFILE=/etc/open/server/login.user
+ LOG_FILE=/etc/open/server/login.log
++ date '+%Y-%m-%d %T'
+ TIME_STAMP='2019-11-23 12:43:04'
+ '[' '!' -r /etc/open/server/login.user ']'
++ awk '!/^;/&&!/^#/&&$1==""{print $2;exit}' /etc/open/server/login.user
+ CORRECT_PASSWORD=
+ '[' '' = '' ']'
+ echo '2019-11-23 12:43:04: User does not exist: username="", password=

"".'
+ exit 1
发布了57 篇原创文章 · 获赞 8 · 访问量 5531

猜你喜欢

转载自blog.csdn.net/zdl244/article/details/103220916
今日推荐