Nguyễn Thị Thúy Quỳnh
Member
How do I scp a directory to another server in Linux?
Answer
To copy a directory (and all the files it contains),
use scp with the -r option. This tells scp to recursively copy the source directory and its contents. You’ll be prompted for your password on the source system ( deathstar.com ). The command won’t work unless you enter the correct password.
Answer
To copy a directory (and all the files it contains),
use scp with the -r option. This tells scp to recursively copy the source directory and its contents. You’ll be prompted for your password on the source system ( deathstar.com ). The command won’t work unless you enter the correct password.