Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Connecting to ecFlow servers at the Centre

Once you have SSH At home, you don't have direct access to the Centre's ecFlow servers. However, you can use it SSH to connect ecflow_ui running on your laptop with ecFlow servers at ECMWF. The basic idea is that the SSH daemon running on your workstation at ECMWF will "pretend" to be an ecflow_ui, forwarding network connections from your real ecflow_ui at home to the Centre's ecFlow servers. There are two ways of doing it. Both methods rely on the Port Forwarding functionality built into OpenSSH software suite. 

Method #1: Local Port Forwarding

You will start an SSH local port forwarding session on your laptop and connect your ecflow_ui to it. The local ssh session will tunnel forward network traffic between connections from your ecflow_ui to the SSH server running at ECMWF on your workstation and from there to the Centre's servers:

...

ecFlow servers.

Start SSH port forwarding session

...

Code Block
ssh -J user1@shell.ecmwf.int user1@machine1 -C -N -L 4141:machine1:4141 -L 3142:machine2:3142 -L 9316:logserver:9316

Configure your ecflow_ui

Your local ecflow_ui cannot directly access ecflow servers running at the Centre. Instead, Now you will connect your ecflow_ui to your local SSH port forwarding session. Open and edit ecflow _ui connection settings; make servers connection settings (launch ecflow_ui → Servers→ Manage Servers ...). Make sure to use "localhost" in the "Host" fields, not the actual ECMWF hostnames. The local SSH session will securely forward your connections to the remote SSH server running inside ECMWF on machine1 and from there to the Centre's ecFlow servers.

...

Start SOCKS proxy session

In a terminal on your laptop, start the SOCK proxy (Dynamic Port Forwarding) session with:

...