Created
October 15, 2023 20:41
-
-
Save soulaway/a18f78b1c5fd4030cae45cb8c7f9f84b to your computer and use it in GitHub Desktop.
ssh hints
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
### Tunel remote 8080 to local 8089: | |
ssh -L 8089:10.122.3.6:8080 [email protected] | |
### Execute bash after ssh connection: | |
ssh -tt [email protected]<<EOT | |
# cd /home/theuser/pathToRemoteApp | |
# call mvn,ant,bash | |
exit | |
EOT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment