Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
907 Discussions

How To: copy-file-from-computer-to-devcloud

WILLIAM_H_Intel4
Employee
1,471 Views

QUESTION:

when i use scp to transport my file from my computer to the cloud, but it always tells 'lost connection'.

 

ANSWER:

Seems like you are logged in to your Devcloud terminal. You need to go to the local terminal (where you can access the file need to be copied) and do the 'scp' from there.

Please follow the below steps from Devcloud welcome email :

Once your connection is set up, you can copy local files to your login node like this:

[myname@myhomecomputer ~] scp /path/to/local/file colfax:/path/to/remote/directory/

And you can copy files from your login node back to your home computer like this:

[myname@myhomecomputer ~] scp colfax:/path/to/remote/file /path/to/local/directory/

0 Kudos
5 Replies
Davis__Timothy
1,471 Views

I have the same problem, but the posed solution fails.  This process works fine for small files, but I fails on files larger than 5GB or so.  The first 5GB or 7GB gets transfered, and then I get "cat: Connection reset by peer, packet_write_wait: ... broken pipe".

 

Tim Davis

davis@tamu.edu

SankhaSubh_S_Intel
1,471 Views

I have tried usual scp command as mentioned in the original post, but the connection timed out

"ssh: connect to host <hostname> port 22: Connection timed out". 

Any advice / example scp cmd that you can share ? 

Thank you, 

Dan_P_Intel
Employee
1,471 Views

Typically I write something like this:

scp devcloud:<source_path> <destination_path>

or

scp <source_path> devcloud:<destination_path>

The devcloud: prefix comes from the ssh devcloud command used to login and indicates the SSH configuration to use to reach out to the remote path.

Let's say I'm trying to copy readme.txt from the local cwd to the home folder on the DevCloud:

scp readme.txt devcloud:~/

And that's it.

well
New Contributor I
820 Views

I have tried what you suggest by wirting the following command in CMD terminal of my local computer:

C:\Users\user>scp c:\Users\user\Desktop\dataset.csv devcloud:~/

 

 

But it gave me the following error: 

Could not resolve hostname devcloud: No such host is known.

User01
New Contributor I
202 Views

Are the any updates on this? Is it possible to transfer files larger than 5 GB?

Reply