Skip To Main Content
Support Knowledge Base

How to Upload File from Local System to Intel® Developer Cloud Instance

Content Type: Product Information & Documentation   |   Article ID: 000094496   |   Last Reviewed: 02/23/2024

Option 1: Use SCP command

Windows*:

  1. Launch Bare Metal / Virtual Machine instance with SSH command on command prompt.
  2. Open another new command prompt.
  3. Navigate to the path of the file that needs to be uploaded.
    e.g. cd C:\Users\username\Downloads
  4. Upload file to Bare Metal instance.
    scp -P 10022 [FILE_NAME] devcloud@localhost:[PATH_TO_DESTINATION]
    e.g. scp -P 10022 file.txt devcloud@localhost:~
  5. To download files from a launched Bare Metal, open a new terminal on the local system and type the command:
    scp -P 10022 devcloud@localhost:[PATH_TO_DESTINATION]
    e.g. scp -P 10022 devcloud@localhost:~
Note

If uploading file to Virtual Machine instance, change to ubuntu@localhost instead of devcloud@localhost.
scp -P 10022 [FILE_NAME] ubuntu@localhost:[PATH_TO_DESTINATION]

 

Ubuntu*:

  1. Launch Bare Metal / Virtual Machine instance with SSH command on terminal.
  2. Open another new terminal.
  3. Upload file to Bare Metal instance.
    scp -P 10022 [PATH/FILE_NAME] devcloud@localhost:[PATH_TO_DESTINATION]
    e.g. scp -P 10022 ~/Downloads/file.txt devcloud@localhost:~
  4. To download files from a launched Bare Metal, open a new terminal on the local system and type the command:
    scp -P 10022 devcloud@localhost:[PATH_TO_DESTINATION]
    e.g. scp -P 10022 devcloud@localhost:~

 

Option 2: Use Rsync command

Windows:

  1. Install Rsync on Windows* by following the step guide.
    Note

    This external link (step guide) is not maintained by Intel.

  2. Add installed Rsync to your %PATH% environment variable.
  3. Remove default OpenSSH path C:\WINDOWS\System32\OpenSSH\ from your %PATH% environment variable.
  4. Launch Bare Metal / Virtual Machine instance with SSH command on command prompt.
  5. Open another new command prompt.
  6. Navigate to the path of the file that needs to be uploaded.
    e.g. cd C:\Users\username\Downloads
  7. Upload file to Bare Metal instance.
    "C:\Program Files\Git\usr\bin\rsync.exe" -avz --progress -e 'ssh.exe -p 10022' [FILE_NAME] devcloud@localhost:[PATH_TO_DESTINATION]
    e.g. "C:\Program Files\Git\usr\bin\rsync.exe" -avz --progress -e 'ssh.exe -p 10022' file.txt devcloud@localhost:~

 

Ubuntu:

  1. Launch Bare Metal / Virtual Machine instance with SSH command on terminal.
  2. Open another new terminal.
  3. Upload file to Bare Metal instance.
    rsync -avz --progress -e 'ssh -p 10022' [FILE_NAME] devcloud@localhost:[PATH_TO_DESTINATION]
    e.g. rsync -avz --progress -e 'ssh -p 10022' file.txt devcloud@localhost:~

Related Products

This article applies to 2 products.