Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "****" | sudo openconnect -q -b --passwd-on-stdin --user=jm**** --cafile=/Users/jmac/.ssh/wtamu.pem connect.wtamu.edu
- #!/bin/bash
- IFS="
- "
- for line in $(ps aux | grep openconnect | grep -v grep); do
- IFS=" " read -a array <<< $line
- sudo kill -s SIGINT ${array[1]}
- done
- Jacobs-MacBook-Pro:.scripts jmac$ disconnect
- Password:
- Jacobs-MacBook-Pro:.scripts jmac$ delete host 66.171.208.251: gateway 10.251.1.254
- link#11
- ifconfig: ioctl (SIOCAIFADDR): Destination address required
- ^C
- Jacobs-MacBook-Pro:.scripts jmac$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement