0

我在 Windows 上使用来自https://github.com/horar/openconnect/releases/tag/v8.10的二进制文件使用 OpenConnect 8.10

这是的输出openconnect.exe

No server specified
 Usage:  openconnect [options] <server>
Open client for multiple VPN protocols, version v8.10

Using GnuTLS 3.6.13. Features present: PKCS#11, RSA software token, HOTP software token, TOTP software token, Yubikey OATH, System keys, DTLS, ESP
      --config=CONFIGFILE         Read options from config file
  -V, --version                   Report version number
  -h, --help                      Display help text

Set VPN protocol:
...

我想将完整的输出重定向到一个文件。openconnect.exe 1> openconnect.log成功将大部分内容重定向到文件,只留下

No server specified

屏幕上。此外,openconnect.exe 2> openconnect.log删除该单行,留下

Usage:  openconnect [options] <server>
Open client for multiple VPN protocols, version v8.10

Using GnuTLS 3.6.13. Features present: PKCS#11, RSA software token, HOTP software token, TOTP software token, Yubikey OATH, System keys, DTLS, ESP
      --config=CONFIGFILE         Read options from config file
  -V, --version                   Report version number
  -h, --help                      Display help text

Set VPN protocol:
...

但是,生成的文件是空的!我究竟做错了什么?

4

0 回答 0