Skip to content

Cluster to cluster transfer

  • You can transfer files in an SSH session on one cluster to another cluster.
  • rsync, scp, or sftp will all work!
  • "Local" will now be the server you run the command (scp/rsync/sftp) from.
Pelle to Tetralith with scp
  • Log in to Pelle
  • Choose or create the file "localfile"

  • scp localfile x_nisse@tetralith.nsc.liu.se:~/

  • Check in another ssh session for Tetralith, it is there.
(Optional) Exercise 1: Transfer with favorite terminal tool between servers

Attention

You need accounts at two cluster

Tips

  • Have a SSH session running on your favorite cluster
  • Use a terminal tool (rsync, scp, or sftp) to establish connection between your account on Tetralith or Alvis and your present server.
  • Transfer a file between the clusters
  • Check that it is there!
Answer (Example with Tetralith to Rackham , using sftp)

Same principles as we learned before!

Connection from Tetralith:

[sm_bcarl@tetralith3 ~]$ sftp bjornc@rackham.uppmax.uu.se
The authenticity of host 'rackham.uppmax.uu.se (89.44.250.84)' can't be established.
ECDSA key fingerprint is SHA256:W/MazH3WrH0wKrHBOJpPbDaU4qeYGqiv3FRPsdXIsb4.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'rackham.uppmax.uu.se' (ECDSA) to the list of known hosts.
bjornc@rackham.uppmax.uu.se's password:
Connected to rackham.uppmax.uu.se.