Skip to content

Instantly share code, notes, and snippets.

@mxey
Created May 25, 2013 17:47
Show Gist options
  • Select an option

  • Save mxey/5650035 to your computer and use it in GitHub Desktop.

Select an option

Save mxey/5650035 to your computer and use it in GitHub Desktop.
#!/bin/bash -e
directory="${PWD##/Users/mxey}"
ssh -4 -t ubuntu.local "cd /mnt/hgfs/mxey${directory} && $*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment