Skip to main content



Bash, Applescript, and Sshuttle (Python): Creating a multi-jump into the multiverse...

Basically, I work through VPN's most of my existence.  The problem lies when I have to switch to different VPN's it disrupts my communications w/ other tools that only exist in one VPN, but not the other.  There does appear to be tools around some of these things, but I wanted something quick and dirty.  AND DIRTY it is.  This enables me to stay connected to the main VPN and cheat by sshuttle'ing through systems of access temporarily.

I'm using MACOS and to launch a terminal in a new window turned me on to AppleScript.  I wanted to pass two variables.
1st was basically an identifier for the end system I wanted to shuttle my traffic through.
2nd was to pass a password variable to any system inbetween that was not setup w/ my SSH public key.

So I made a bash function, to call applescript to open my terminals to run what is effectively a python binary.  It works, but has several prerequisites for it to run smoothly.  The nice thing about this scr…

Latest Posts

Powershell/Azure: Looking for Global Reach enabled ExpressRoutes? Yeah, me too.

NSX: Differences of NSX-V (NSX for vSphere) and NSX-T (NSX Datacenter)

PowerCLI: Upload to Content Library using PowerCLI

Powershell: Get SHA256 Thumbprint from vCenter server using Powershell Core. (NSX-T Compute Manager Registration related)

Microsoft Word for Mac: Bullets not formatting properly.

Powershell: PowerNSX: Refusing to load module.

PowerCLI: The SSL connection could not be established, see inner exception.

Powershell: Making a RESTful API endpoint in powershell (kinda like python flask)

Powershell Core: DNSClient cmdlets .NET Alternative

VMware: Get CDP/LLDP info from ESXi/vCenter hosts.