You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Barracuda Linux VPN客户端5.2.2版本--onetimepwd参数失效问题求助

Barracuda Linux VPN客户端5.2.2版本--onetimepwd参数失效问题求助

我目前在使用Barracuda Linux VPN客户端的5.2.2版本,根据使用帮助的说明,我应该可以通过--onetimepwd参数传入一次性验证码,对应的命令格式如下:

barracudavpn --start --login <login-name> --serverpwd <password for login name> --onetimepwd <one-time password>

但实际执行这条命令时,--onetimepwd参数似乎完全被忽略了,每次都会返回“OTP-required”的提示,无法正常建立连接。奇怪的是,我用客户端的TUI(终端交互界面)手动输入一次性验证码时,却能顺利连接上VPN。


编辑补充:因为官方的Barracuda VPN文档看起来已经过时了,我把当前客户端的--help输出贴在这里,方便大家参考:

$ barracudavpn --help

usage:

-----

<basename> [options]

where options may be:

-s  --start     Start VPN tunnel

-p  --stop      Stop VPN tunnel

-t  --status    Show tunnel status

-k  --keypwd    Password for local key

-r  --serverpwd Server password

-o  --onetimepwd    One-time password

-l  --login     Server login (user, pwd authentication)

-c  --config    Pathname to config.

-V  --version   Print VPN client version.

-v  --verbose   Show debug output

-h  --help      Shows this help information

Scripting examples:

-------------------

1. personal license authentication:

barracudavpn --start --keypwd <license-password>

2. X509 authentication

barracudavpn --start --keypwd <cert/key-password>

3. X509 + user/password authentication

barracudavpn --start --keypwd <cert/key-password> --login <login-name> --serverpwd <password for login name>

4. user/password authentication

barracudavpn --start --login <login-name> --serverpwd <password for login name>

5. user/password authentication

barracudavpn --start --login <login-name> --serverpwd <password for login name> --onetimepwd <one-time password>

备注:内容来源于stack exchange,提问作者Sebastian

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 10:49:29