I am working on a project where the R80.40 smartconsole needs to be accessed through a Windows Server to which I connect via RDP through an ssh tunnel.
ssh -tL random-port:127.0.0.1:random-port user @ jump-server1 "ssh -L random-port:windows-server:3389 user @ jump-server2
I would like to be able to directly access the R80.40 smartconsole from my own host by creating a tunnel that connects directly to the smartconsole IP. Is this possible?
I think the new tunnel should be something like this:
ssh -tL random-port:127.0.0.1:random-port -tL random-port:127.0.0.1:random-port -tL random-port:127.0.0.1:random-port user @ jump-server1 "ssh -L random-port:smartconsole-ip:19009 -L random-port:smartconsole-ip:18190 -L random-port:smartconsole-ip:443 user @ jump-server2
If possible, what address would I have to write in the "Server Name or IP Addresses" field when I'm logging in.
My ultimate goal would be to develop a script that would allow me to automate this tedious process.