remote start of openconnect client fails

Nikos Mavrogiannopoulos n.mavrogiannopoulos at
Mon Feb 8 04:19:06 PST 2016

On Sat, Feb 6, 2016 at 9:58 PM, Pavel Lisý <pavel.lisy at> wrote:
> Hello
> This works without problem for openvpn, vpnc, pptp VPNs. But there is
> something strange with openconnect.
> * when I run script customer-connect from devel server directly through
> ssh:
>         it starts VPN on gateway but script does not end,
>         it means I cannot run another bash commands until I press
> Ctrl-C
>         than VPN is still working
> * when I put "customer-connect" to command= directive in file
> .ssh/authorized_keys2 on gateway:
>         helper script connect through ssh with specific private key to
> gateway and run script from authorized_keys2,
>         it starts VPN on gateway but only for few seconds and than VPN
> is terminated
>         ssh is disconnected and I can run another bash commands on
> devel server

Hi Pavel,
 Could you run the latter under strace?

More information about the openconnect-devel mailing list