Skip to content

Instantly share code, notes, and snippets.

@dwallraff
Last active October 4, 2018 12:23
Show Gist options
  • Save dwallraff/568d19d25fa775666797683bb047a6d9 to your computer and use it in GitHub Desktop.
Save dwallraff/568d19d25fa775666797683bb047a6d9 to your computer and use it in GitHub Desktop.
BOSH SCP - used to upload/download files to BOSH managed VMs
# Command to copy files with bosh ssh/scp
# Paths must absolute, no wildcards
# Download
bosh scp <job_name> <job_instance_number> --download <remote_file_path> <local_file_path>
# Upload
bosh scp <job_name> <job_instance_number> --upload <local_file_path> <remote_file_path>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment