I use openconnect in Ubuntu 16.04 terminally, when I want to run it, I need to enter three phases:
- "yes/no"
- "username"
- "password"
How can I bypass above phases using openconnect in a line (e.g. using openconnect options)?
Are there any options for that such as the following line?
sudo openconnect <server-name> --user=<'username'> --pass=<'password'>
I used openconnect --help and found out a way to filling username, but I haven't any idea to filling password and SSL verification.
--no-cert-checkwhich has been removed due to security risks. This is the error message now when using it: The --no-cert-check option was insecure and has been removed. Fix your server's certificate or use --servercert to trust it. (can't comment above because not enough points; mods feel free to clear this up) – movAX13h Dec 18 '18 at 14:21