1
0
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:
jbranchaud
2015-07-08 18:09:52 -05:00
parent 3b5ffd549f
commit 627b145922
2 changed files with 8 additions and 0 deletions

View File

@@ -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)

View 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
```