On Sat, Feb 6, 2016 at 9:58 PM, Pavel Lis? <pavel.lisy at gmail.com> 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?