Linux 命令行运行Cisco Anyconnect

  1. 运行vpn
/opt/cisco/anyconnect/bin/vpn
  1. 连接
connect 你的IP地址

例如

connect nhvpn30.vpn.nvidia.com
  1. 完整示例
$ /opt/cisco/anyconnect/bin/vpn
Cisco AnyConnect Secure Mobility Client (version 4.10.05095) .

Copyright (c) 2004 - 2022 Cisco Systems, Inc.  All Rights Reserved.


  >> state: Disconnected
  >> state: Disconnected

  >> Network error. Unable to lookup host names.
  >> Limited Access - DNS Failure
  >> registered with local VPN subsystem.
VPN> connect ngvpn30.vpn.nvidia.com
connect ngvpn30.vpn.nvidia.com
  >> contacting host (ngvpn30.vpn.nvidia.com) for login information...
  >> notice: Contacting ngvpn30.vpn.nvidia.com.

  >> Connection Banner
  >> ***ATTENTION***
New way to Authenticate using DUO:
Type your password as follows: <Password><comma><DuoPasscode>
The DuoPasscode is good for one use, you will have to refresh in your duo app to get new DuoPasscode
For further instructions visit: https://nvidiaprod.service-now.com/sp?id=kb_article_view&sysparm_article=KB0020548
    0) Employee
    1) Employee_China
    2) NV-Contractor
    3) PSG
Group: [NV-Contractor] 2

Username: [test]
Password:
  >> state: Connecting
  >> notice: Establishing VPN session...
The AnyConnect Downloader is analyzing this computer. Please wait...
Initializing the AnyConnect Downloader...
The AnyConnect Downloader is performing update checks...
  >> notice: The AnyConnect Downloader is performing update checks...
  >> notice: Checking for profile updates...
  >> notice: Downloading AnyConnect VPN Profile - 100%
posted @ 2022-06-13 20:44  marsggbo  阅读(1659)  评论(0编辑  收藏  举报