runpodctl
, make sure it’s installed on your machine, see install runpodctl
scp
, make sure your Pod is configured to use real SSH. For more information, see use SSH.
rsync
, make sure it’s installed on both your local machine and your Pod with apt install rsync
.
~/.ssh/id_ed25519
or you’re using the Windows Command Prompt, make sure you update this path accordingly in your command.It is also recommended to look to the password based ssh if you just need a quick-one-time setup.-r
flag to recursively copy files and subdirectories (this will follow any symbolic links encountered as well):
-a
/--archive
- archive mode (ensures that permissions, timestamps, and other attributes are preserved during the transfer; use this when transferring directories or their contents)-d
/--delete
- deletes files in the destination directory that are not present in the source-p
/--progress
- displays file transfer progress-v
/--verbose
- verbose output-z
/--compress
- compresses data as it’s being sent and uncompresses as it’s received (heavier on your CPU, but easier on your network connection)