Difference between revisions of "LocalForward"

From wikieduonline
Jump to navigation Jump to search
(Created page with " {{~/.ssh/config}}")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
 +
Host my-server
 +
    HostName 10.10.10.1
 +
    User ubuntu
 +
    # Syntax: LocalForward [local_port] [remote_host]:[remote_port]
 +
    LocalForward 8080 127.0.0.1:8080
 +
    LocalForward 1234 127.0.0.1:1234
  
  
 +
[[ss -tlnp]] | grep ssh
  
 +
== See also ==
 +
* {{~/.ssh/config}}
 +
* {{ssh -L}}
  
{{~/.ssh/config}}
+
[[Category:SSH]]

Latest revision as of 18:50, 17 July 2026

Host my-server
   HostName 10.10.10.1
   User ubuntu
   # Syntax: LocalForward [local_port] [remote_host]:[remote_port]
   LocalForward 8080 127.0.0.1:8080
   LocalForward 1234 127.0.0.1:1234


ss -tlnp | grep ssh

See also[edit]

Advertising: