OpenConnect VPN with Multifactor Authentication shell alias

OpenConnect is a VPN client that can replace Cisco Anyconnect on multiple platforms, it is useful as it allows to run multiple concurrent VPN whereas Cisco Anyconnect cannot.

In order to make its day-to-day usage more straightforward you may want to configure a shell alias to run the full command and input your password, this will also allow you to ask for the second password that can be used with multifactor authentication systems, such as Duo Mobile.

Continue reading “OpenConnect VPN with Multifactor Authentication shell alias”