Skip to content

Instantly share code, notes, and snippets.

View dennis-kon's full-sized avatar
💭
I may be slow to respond.

Dennis dk Kon dennis-kon

💭
I may be slow to respond.
View GitHub Profile
@bigonese
bigonese / vpn.sh
Created January 11, 2017 13:06
Script to start sstp-client on a Mac, connecting to Microsoft VPN, with ability to use Apple's KeyChain
#!/bin/bash
SERVICE_NAME='my-example-vpn'
SERVICE_URL='my-example-vpn.com'
if [[ ${#USER} > 1 ]]
then
read -p "Log in as ${USER}? [y/n] " LIA
else
LIA = 'n'