Skip to content

Instantly share code, notes, and snippets.

@rezaiyan
Created February 16, 2019 09:54
Show Gist options
  • Save rezaiyan/0c68fe0eff85b95aaf75290a43c65888 to your computer and use it in GitHub Desktop.
Save rezaiyan/0c68fe0eff85b95aaf75290a43c65888 to your computer and use it in GitHub Desktop.
It's a simple script to automate your connectivity to a ssh with OpenConnect
#!/bin/bash
echo -e "yes\n<USERNAME>\n<PASSWORD>" | sudo openconnect <HOST>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment