jjehannet / sshcd

Tired of having to cd around after you've SSH'd into a server? Me too.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sshcd

Tired of having to type this janky command to ssh and cd into unfamiliar remote servers?

$ ssh -t user@pretend.io "cd /over/the/rainbow; exec \$SHELL"

Me too.

$ sshcd user@pretend.io:/over/the/rainbow

installation

$ curl -s https://raw.github.com/christianbundy/sshcd/master/install.sh | sh

usage

The default usage is pretty simple.

$ sshcd root@example.com:/your/favorite/folder

It supports prepended flags, too!

$ sshcd -v root@example.com:/lets/get/verbose

About

Tired of having to cd around after you've SSH'd into a server? Me too.

License:MIT License


Languages

Language:Shell 100.0%