_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN
Let's talk

SSH tunely a port forwarding

13. 04. 2023 1 min read intermediate

SSH tunely umožňují bezpečně přistupovat ke vzdáleným službám přes šifrované spojení.

Local forwarding

ssh -L 5433:localhost:5432 user@db-server ssh -L 8080:internal-app:80 user@bastion

Remote forwarding

ssh -R 8080:localhost:3000 user@public-server

Dynamic (SOCKS)

ssh -D 1080 user@ssh-server curl –socks5 localhost:1080 http://internal.local

Jump host

ssh -J bastion user@internal-server

~/.ssh/config

Host internal-* ProxyJump bastion

Trvalé tunely

autossh -M 0 -f -N -L 5433:localhost:5432 user@db-server

SSH tunely = bezpečný přístup

Pro produkci autossh nebo systemd. Pro složitější scénáře VPN.

sshtunelyport forwarding
Share:

CORE SYSTEMS tým

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.