This question already has an answer here:
- ssh to private-ip 3 answers
That question is'n only about Unix/Linux - but contain something...
So - given: host1 with TeamCity server running on
host2 which will be "ssh-proxy" between client and host1.
From host1 opened tunnel:
$ ssh -f -N -R 8081:localhost:8111 user@host2
From host2 I can get access to Teamcity on host1:
$ wget localhost:8081 ... 13:48:24 (258.85 MB/s) - `login.html.1' saved [5700/5700]
Now, I'm trying open tunnel with Putty from "client" to host2 with intent get access to TeamCity on host1.
Open session in Putty - connect to host2. Go to Settings > Connection > SSH > Tunnels.
local port 3000 > host2:8081
Clicked "Apply" and in browser trying open page with
localhost:3000 - and get nothing...
Can somebody please give any tips? I make a lot of different changes in Putty settings with tunnels - but can't open TeamCity...