Advertisement
Guest User

Untitled

a guest
Apr 15th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. #!/bin/bash
  2. echo "****" | sudo openconnect -q -b --passwd-on-stdin --user=jm**** --cafile=/Users/jmac/.ssh/wtamu.pem connect.wtamu.edu
  3.  
  4. #!/bin/bash
  5. IFS="
  6. "
  7. for line in $(ps aux | grep openconnect | grep -v grep); do
  8. IFS=" " read -a array <<< $line
  9. sudo kill -s SIGINT ${array[1]}
  10. done
  11.  
  12. Jacobs-MacBook-Pro:.scripts jmac$ disconnect
  13. Password:
  14. Jacobs-MacBook-Pro:.scripts jmac$ delete host 66.171.208.251: gateway 10.251.1.254
  15. link#11
  16. ifconfig: ioctl (SIOCAIFADDR): Destination address required
  17. ^C
  18. Jacobs-MacBook-Pro:.scripts jmac$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement