Login on CSCS systems goes through the front-end Ela: if you want to copy files from a CSCS system to your local client, outgoing connections will work if your client has a static IP address.

Otherwise, you can configure your local client to forward the connection from Ela to the CSCS system that you wish to access, editing the file .ssh/config on your local client. You can use the template below for Piz Daint:

Direct access with ProxyJump
Host daint
 HostName daint.cscs.ch
 User <username>
 ProxyJump <username>@ela.cscs.ch

Please replace <username> in the example above with your CSCS username. Then you will be able to run the commands ssh or scp on your local client as follows:

$ scp daint:<path> <localpath>

Please adjust <path> and <localpath>, as they are user specific.

In case you receive a warning when connecting to the front-end Ela, please follow the procedure to check the host key.