Zenuncl Wiki

Genius only means hard-working all one's life...
Server

SSH

/ server / SSH

# SSH PortForwarding

# Enable IP PortForwarding

sysctl net.ipv4.ip_forward=1

# OpenSSH ProxyCommand

Host hostname_a
    User user
    Hostname 123.123.123.123

Host hostname_b
    User user
    Hostname 12.13.13.1
    Port 2222
    ProxyCommand ssh -q -W %h:%p hostname_a

Last Update: 2024-11-11 03:32:37 Source File