Skip to content

Instantly share code, notes, and snippets.

@nathanpitman
Last active January 3, 2016 11:09
Show Gist options
  • Save nathanpitman/8453950 to your computer and use it in GitHub Desktop.
Save nathanpitman/8453950 to your computer and use it in GitHub Desktop.
How to set Shuttle.app up as a convenient tool for connecting to a remote server with a single click from the menu bar.
How to set Shuttle.app up as a convenient tool for connecting to a remote server with a single click from the menu bar.
Install Homebrew (http://brew.sh/) by opening a new terminal window and pasting in:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Follow the prompts. After installation is complete install the 'sshpass' formula:
brew install https://raw.github.com/eugeneoden/homebrew/eca9de1/Library/Formula/sshpass.rb
Now install Shuttle (http://fitztrev.github.io/shuttle/) and add a host in config as follows:
sshpass -p yourpassword ssh [email protected] -t 'cd /path/to/site/; bash --login
That's it, job done! :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment