Skip to main content

System Status: 

Configuring the UCSD VPN Client for GNU/ Linux via Conventional Installation

Download and configure the new UCSD Virtual Private Network (VPN) AnyConnect client on your Linux machine for a conventional installation.

In the right place? If you only need to access common campus Web sites or remote desktop computing, use the VPN EasyConnect option. See instructions in Virtual Private Networks at UCSD.


  • You must either log into your computer with administrator rights or have the system root password.
  • You need your Active Directory (AD) username and password. If you don't remember your AD username or password, you can either reset it at or contact your department's systems administrator.
  • Linux Red Hat 6, 7 & Ubuntu 14.04 (LTS) , 16.04 (LTS), and 18.04 (LTS) (64-bit only)
In addition to the OpenConnect VPN client, you may also use the web version of UCSD's VPN through Choose EasyConnect as the Group before logging in.

1. Download the UCSD VPN AnyConnect client

  • Download the VPN AnyConnect client (login with UCSD SSO required).
  • Save the client to your desktop.
  • After the download completes, click on the Show Applications icon then click Terminal
Show Applications button
Terminal button

2. Run the installation script

  • Type sudo su and press enter to elevate your user permission.
  • Enter your system root password when prompted.
  • Go to the directory where the installation package downloaded. In this case type cd Desktop and press enter.
  • Run the following command, replacing <filename> with the name of the files you downloaded: chmod a+x <filename> and press enter to change the file to an executable.
  • Type ./ followed by the filename from the previous command and press enter to execute the installation script.
  • The screenshot below is the execution of the installation script:


3. Run the AnyConnect client

  • Click on Show Applications then click on Cisco AnyConnect Secure Mobility Client

    Show Applications button

Cisco Any Connect logo

4. Authenticate with UCSD VPN using DUO 2-Step Authentication

  • Enter in the Connect to field.
  • Click Connect.
  • Select your desired connection profile from the Group drop-down menu:
    • 2-Step Secured - allthruucsd – Route all traffic through the UCSD VPN. Use this when accessing Library resources. This is the preferred method.
    • 2-Step Secured - split – Route only campus traffic through the UCSD VPN. All other traffic goes through your normal Internet provider. 
  • In the Username field, enter your Active Directory (AD) username
  • In the Passcode field, use the following to authenticate through DUO (See Two-Step Login: VPN for further details):
    • If you receive DUO push notifications on your mobile phone enter:
      • yourADpassword,push
    • If you receive a DUO phone call to authenticate, enter:
      • yourADpassword,phone
    • If you use a DUO token to generate a passcode enter:
      • yourADpassword,6digitpasscodefromtoken
  • Click Connect.

    Cisco Any Connect screen shot

5. Disconnect

  • Click on Show Applications then click on Cisco AnyConnect Secure Mobility Client
  • Click Disconnect.

    screen shot, 2-step login
To ask questions, request a service, or report an issue, contact the ITS Service Desk, (858) 246-4357 or ext. 6-HELP.