Created
November 29, 2018 09:42
-
-
Save JRJurman/6be87b7df228afd77bfd665ff0cd5ef5 to your computer and use it in GitHub Desktop.
CD and SSH into the correct directory
This file contains hidden or 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
| $cd_path = $(pwd).ToString().replace("C:\Users\jrjur\Programs", "~/Programs/sf_Programs").replace("\","/") | |
| ssh -t [email protected] 'cd ' $cd_path ';bash' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment