Is there a Debian/Ubuntu equivalent package of the Cisco Anyconnect vpn client? If so then how do I install and use it?


2 Answers 2


There is a package called openconnect which does the job. To install it:

sudo apt-get install openconnect vpnc

and to run it, so that you can access the restricted network (eg through your browser):

sudo openconnect vpn.hostname.com

and enter the username and password when prompted on the command line. Or to input them automatically all in one go:

echo 'the!!password' | sudo openconnect -u 'the!!username' --passwd-on-stdin vpn.hostname.com

To send the script to the background so that you can continue using the command line:




(for background).

  • 2
    There are also OpenConnect plugins for Network Manager that may make it easier to setup.
    – earthmeLon
    Nov 30, 2016 at 19:11

openconnect-sso works well especially if the vpn provider/policy requires embedded browser login+MFA https://github.com/vlaci/openconnect-sso

without --user flag especially.

openconnect-sso -l debug --server bla -- --useragent=AnyConnect

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .