Skip to content

Instantly share code, notes, and snippets.

@mschmitt
Last active June 15, 2023 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mschmitt/cfa6bce2db77079921c2073e61a5f117 to your computer and use it in GitHub Desktop.
Save mschmitt/cfa6bce2db77079921c2073e61a5f117 to your computer and use it in GitHub Desktop.

Bitte ein Wrapper-Script für openconnect anlegen in dem der User-Agent für Anyconnect gesetzt wird:

echo -e '#!/bin/bash\nexec /usr/sbin/openconnect --useragent=AnyConnect "$@"' | sudo tee /usr/local/sbin/openconnect
sudo chmod +x /usr/local/sbin/openconnect

Anschließend ist die Einwahl wieder möglich:

oc-client

Danach so bald wie möglich updaten:

sudo apt-get udpate
sudo apt-get dist-upgrade

Anschließend muss der Wrapper wieder gelöscht werden:

sudo rm /usr/local/sbin/openconnect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment