01CLI↗
SSH Tunneling and Port Forwarding
Create secure tunnels for accessing services, bypassing firewalls, or encrypting traffic.
# Local port forwarding (access remote service locally)
ssh -L local_port:remote_host:remote_port user@ssh_server
ssh -L 3306:localhost:3306 user@dbserver # Forward MySQL
#ssh#tunnel
hard