mirror of
https://github.com/jbranchaud/til
synced 2026-01-17 22:18:01 +00:00
Add SSH With Port Forwarding as a zsh til.
This commit is contained in:
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