Can't accept the "Connect Banner" on the command line
I'm trying to connect to our Cisco SSL VPN at work via openconnect
, but can't seem to get past the final stage when I'm asked to accept the T&Cs in a "Connect Banner".
Here's the command and what I'm seeing
jmackie@nixos $ sudo openconnect --authgroup [GROUP] --user [USERNAME] [URL]
POST [URL]
Connected to [IP ADDRESS]
SSL negotiation with [URL]
Connected to HTTPS on [URL]
XML POST enabled
Please enter your username and password.
POST [URL]
XML POST enabled
Please enter your username and password.
Password:
POST [URL]
Got CONNECT response: HTTP/1.1 200 OK
CSTP connected. DPD 30, Keepalive 20
Connected as [ANOTHER IP ADDRESS], using SSL + lzs
Established DTLS connection (using GnuTLS). Ciphersuite (DTLS0.9)-(DHE-CUSTOM4294967237)-(AES-256-CBC)-(SHA1).
DTLS connection compression using LZS.
Connect Banner:
| Your access to the ...
| ...blah blah blah
| You must accept this Agreement each time you use the Service and it is your responsibility to review it for any changes each time.
| More boring legal stuff
| Don't do illegal things
| ...blah blah blah
At which point it hangs as if waiting for stdin, but nothing I type has any effect.
jmackie@nixos $ openconnect --version
OpenConnect version v7.08
Using GnuTLS. Features present: RSA software token, HOTP software token, TOTP software token, System keys, DTLS
Running NixOS (18.09pre142796.4b649a99d84) and XMonad (0.13) so in need of a terminal-only solution.