1. Home
  2. Technical Guides
  3. FABRIC in-depth
  4. Transferring data to and from your VMs

Transferring data to and from your VMs

You can use scp command to transfer data between Jupyter Hub or your laptop and your sliver VM.

From Jupyter Hub or your laptop to the VM:

$ scp -F ~/.ssh/fabric_ssh_config -i <private *sliver* key file> <local file name> ubuntu@11.22.33.44:~/<remote file name>

From the VM back to Jupyter Hub or your laptop:

$ scp -F ~/.ssh/fabric_ssh_config -i <private *sliver* key file>  ubuntu@11.22.33.44:~/<remote file name> <local file name>

Note that if your VM’s address is IPv6, the address needs to be enclosed into square brackets:
scp -F ~/.ssh/fabric_ssh_config -i <private *sliver* key file> ubuntu@[2620:0:c80:1003:f816:3eff:fe7b:2ca1]:~/<remote file name> <local file name>
In some shells (like zsh) the opening bracket may need to be escaped with a \:
scp -F ~/.ssh/fabric_ssh_config -i <private *sliver* key file> ubuntu@\[2620:0:c80:1003:f816:3eff:fe7b:2ca1]:~/<remote file name> <local file name>

Updated on July 28, 2023

Was this article helpful?

Related Articles

Having problems?
Try searching or asking questions in the FABRIC community forums!
Go to Forums

Leave a Comment