SSH Local Port Forwarding
Forwards a local port to a remote service through SSH. Traffic to localhost:local_port is tunneled to the remote server and delivered to localhost:remote_port there. -N prevents opening a shell.
When you need this: To access a database, Redis, or web UI on a remote server without opening firewall ports.
Variables
Command
2 views
0 copies
Related in this category
Log in to save
Free account — save snippets into your own collections.