Wednesday, December 3, 2014

How to SCP(Copy) a file from one host to another in LINUX

Simple way to secure copy from one linux system to another:


root@myhost: ~# scp -P 22 <filename> root@<ip address or hostname>:<full directory path of file to copy>

Hit enter

You should get prompted for password to remote system. Enter the password and wait until the file copies over.

Done.

No comments:

Post a Comment