Skip to content

Instantly share code, notes, and snippets.

@mafice
Created September 18, 2012 14:33
Show Gist options
  • Save mafice/3743461 to your computer and use it in GitHub Desktop.
Save mafice/3743461 to your computer and use it in GitHub Desktop.
launch VirtualBox VM and ssh into Guest OS (OS X -> Arch Linux)
VBOX_ARCH="Arch Linux x64"
alias arch="VBoxManage startvm '$VBOX_ARCH';
sleep 3;
osascript -e 'tell application \"System Events\" to set visible of process \"VirtualBox VM\" to false';
ssh localhost -p 1234"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment