scp one big file(45gb) file from one host to another host

Posted on 2008-09-29
Last Modified: 2013-12-27

i had one question. i need to copy file (45gb) file from one host to another host. how do i do that. i want to run this scp in nohup mode. because i can get problem with timed out.

can any one give the script to run the scp in nohup mode
Question by:pavan27
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 48

Accepted Solution

Tintin earned 300 total points
ID: 22599779
nohup scp file host:/path &


Author Comment

ID: 22599811
Thanks for reply.

how do is give password. can you send me full syatax.

my host name as are host1 and host2
LVL 48

Assisted Solution

Tintin earned 300 total points
ID: 22599836
Are you able/permitted  to set up ssh keys?  That would be the easiest option.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Assisted Solution

wwnosal earned 100 total points
ID: 22600330
nohup scp -i key_file  file_to_copy user_name@host1:/path/to/your/file.ext &

Author Comment

ID: 22601692
what is key_file here. i did not understand key file here

how do i setup ssh keys?
LVL 48

Assisted Solution

Tintin earned 300 total points
ID: 22602382
On host1, type in

ssh-keygen -t dsa

Press enter for the all the prompts.

copy the $HOME/.ssh/ to host2 and put it in


make sure .ssh directory has perms of 700 and authorized_keys has perms of 600
LVL 40

Assisted Solution

omarfarid earned 100 total points
ID: 22606662

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question