Tired of having to type this janky command to ssh and cd into unfamiliar remote servers?
ssh -t [email protected] "cd /foo/bar; exec \$SHELL --login"
Stop it. Connect with SSH and cd (change directory) with one command.
sshcd [email protected]:/foo/bar
Use Homebrew to download and install the executable.
brew tap fraction/homebrew-formulae
brew install sshcd
Add the executable into your path and give it permissions.
sudo curl -Lo /usr/local/bin/sshcd http://git.io/wfAXEQ
sudo chmod +x /usr/local/bin/sshcd
The default usage is pretty simple.
sshcd [email protected]:/foo/bar
The tool supports prepended flags, too!
sshcd -v [email protected]:/foo/bar
Please open an issue for questions and concerns.
Fork the project, commit your changes, and open a pull request.