- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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/
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are the any updates on this? Is it possible to transfer files larger than 5 GB?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am facing the following issue while trying to copy files using scp.
ssh: Could not resolve hostname devcloud: Name or service not known
lost connection
Kindly, suggest how to resolve this issue.
P.S. I tried all the above methods and none worked for me.
Regards,
Vandana

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page