Created
October 25, 2011 05:01
-
-
Save takus/1311351 to your computer and use it in GitHub Desktop.
ssh to remote host & execute command & stay at remote server after executing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh -t user@host "cd /path/to/dir && /bin/bash" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment