dotfiles/notes/shell/ssh_port_forwarding.md

6 lines
222 B
Markdown
Raw Normal View History

2023-12-23 20:13:52 -07:00
# SSH port forwarding
ssh -p10011 -NL 7000:localhost:8080 emiliko@localhost &
Opens an ssh tunnel without obstructing the current terminal. Syntax for the
tunnel looks like:
<client_port>:<url_from_host:host_port>