-
-
Save amrutprabhu/85526732ef995c30c2d7ebab92576b09 to your computer and use it in GitHub Desktop.
SSH tunneling
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
-- bash file interepter --- | |
#!/bin/bash | |
-- Tunnelling | |
ssh -N -f -L <localport>:localhost:<remote port> <remote host> | |
-- Enable Remote debugging | |
CATALINA_OPTS=" -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005" | |
-- Fish shell function arguments | |
``` | |
function myalias | |
echo $argv[1].$argv[2].$argv[3] | |
end | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment