Hi all,
I have two identical remote servers (with different IPs of course) and am trying to setup a SSH tunnel to them on port 443. I can successfully setup a tunnel to the server01 but not to the server02. I don't need to have both tunnels running at the same time but I am really puzzled because only the first one works.
Both servers are only accessible via a proxy server so no difference there either. When I ssh into the server01, I can easily go to the browser and access the GUI on 127.0.0.1:443 (
https://127.0.0.1 to be exact).
But when I close the connection to the first server and SSH into the second server, the GUI will not come up.
Here is my SSH config file:
Host server01
HostName 10.11.12.6
ProxyCommand ssh proxy-staging -W %h:%p
IdentityFile ~/.ssh/id_rsa_user
User centos
LocalForward 443 127.0.0.1:443
Host server02
HostName 10.11.12.80
ProxyCommand ssh proxy-staging -W %h:%p
IdentityFile ~/.ssh/id_rsa_user
User centos
LocalForward 443 127.0.0.1:443
Can someone please help me figure this out please?
Thanks in advance