mirror of
https://github.com/jbranchaud/til
synced 2026-01-11 19:18:01 +00:00
Add SSH With Port Forwarding as a zsh til.
This commit is contained in:
@@ -172,6 +172,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
|
||||
- [Repeat Yourself](zsh/repeat-yourself.md)
|
||||
- [Saying Yes](zsh/saying-yes.md)
|
||||
- [Search History](zsh/search-history.md)
|
||||
- [SSH With Port Forwarding](zsh/ssh-with-port-forwarding.md)
|
||||
- [Switch Versions of a Brew Formula](zsh/switch-versions-of-a-brew-formula.md)
|
||||
- [Watch The Difference](zsh/watch-the-difference.md)
|
||||
- [Watch This Run Repeatedly](zsh/watch-this-run-repeatedly.md)
|
||||
|
||||
7
zsh/ssh-with-port-forwarding.md
Normal file
7
zsh/ssh-with-port-forwarding.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# SSH With Port Forwarding
|
||||
|
||||
Use the `-L` flag with `ssh` to forward a connection to a remote server
|
||||
|
||||
```
|
||||
$ ssh someserver -L3000:localhost:3000
|
||||
```
|
||||
Reference in New Issue
Block a user