05/06/2021

ssh tunnel with Jumphost

ssh -L 5900:127.0.0.1:5900 -J can@box1.com can2@box2.com

Bulunduğumuz sistemden box2 ye ssh yapar ama bunu önce box1 e ssh yapıp sonra ordan box2 ye ssh yapar. bu arada box2 nin 5900 portunu box1 ordan da bulunduğumuz sisteme tunnel ile ulaştırır.

Leave a Reply