Created
February 16, 2019 09:54
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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