Linux SCP - Basic Commands







Copy the file "abcd.txt" from a remote host to the local host


$ scp your_username@ remotehost.com:abcd.txt /some/local/directory


Copy the file "abcd.txt" from the local host to a remote host


$ scp abcd.txt your_username@remotehost.com:/some/remote/directory


Copy the directory "foo" from the local host to a remote host's directory "bar"


$ scp -r foo your_username@ remotehost.com:/some/remote/directory/bar


Copy the file "abcd.txt" from remote host "123.com" to remote host "456.in"

info site

Phasellus facilisis convallis metus, ut imperdiet augue auctor nec. Duis at velit id augue lobortis porta. Sed varius, enim accumsan aliquam tincidunt, tortor urna vulputate quam, eget finibus urna est in augue.

No comments:

Post a Comment