Step1: Login to jump server: ssh -L 127.0.0.1:8080:127.0.0.1:8080 user@jump_server Step2: On jump server: ssh -D8080 user@remote_server1 Step3: Change browser socks proxy using socks5: 127.0.0.1:8080
All in one command:
ssh -L 127.0.0.1:8080:127.0.0.1:8080 -A -t -l user@jump_server "ssh -D8081 -A -t -l remote_user@remote_server"