Remote session via gateway, port redirection

Dear rooters,

I am trying to use a remote session (.R comment in cint).
However, the server is located behind a gateway.
I then connect using ssh and I redirect the port 22 of the remote server to localhost but with a different port (here 6022).
How can I connect to localhost using another port than 22 (i.e. specify the port 6022 here)?
Thank you in advance for your help

ROOT Version (e.g. 6.12/02): 5.34/36
Platform, compiler (e.g. CentOS 7.3, gcc6.2): Linux Ubuntu 4.13.0-39-generic x86_64, gcc 5.4.0

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.