[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: scp question (scp and exit shell)



Mike Egglestone wrote:

> Hi all,
>
> I would like to copy a huge file from one server to another.
> but because it takes a long time, I would like to exit
> my remote shell that I used to login and run the scp command.
>
> I have tried with the " & " symbol after the command but no go.
> ex.
> scp /home/user/file.txt bigserver:/home/user2/ &
>
> Is there any way to do this without generating a new passwordless ssh key
> and using the " -i " option with scp?  I could do it this way, but it
> takes me too long
> to create all the keys and edit the authorized_keys file all the time.
>

One thing that speeds up scp tremendously is to add a -c blowfish to the
command. There may be patent issues or something, but the transfers are much
faster.



Reply to: