Skip to content

Instantly share code, notes, and snippets.

@amrutprabhu
Last active November 13, 2018 11:04
Show Gist options
  • Save amrutprabhu/85526732ef995c30c2d7ebab92576b09 to your computer and use it in GitHub Desktop.
Save amrutprabhu/85526732ef995c30c2d7ebab92576b09 to your computer and use it in GitHub Desktop.
SSH tunneling
-- 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