Scp background execution

Today, 4th December 2022, Ukraine is still bravely fighting for democratic values, human rights and peace in whole world. Russians ruthlessly kill all civilians in Ukraine including childs and destroy their cities. We are uniting against Putin’s invasion and violence, in support of the people in Ukraine. You can help by donating to Ukrainian's army.

To execute scp in background add ampersand:

scp -r /path/on/local_pc/ [email protected]:/path/on/server/  &

👆Also please reember, so speedup scp if you copy folder with several files instead of one file use tar + ssh:

tar -czf - /path/on/local_pc/ | ssh [email protected] tar -xzf - -C /path/on/server/

#ssh #scp
Ivan Borshchov profile picture
Nov 17, 2020
by Ivan Borshchov
Did it help you?
Yes !

Best related