copy anything from server to other without ftp

If we want to copy something from one server to other server without ftp in that case we can use scp

format is

scp source destination                For single file

scp -r source destinataion        For multiple file

for eg

scp -r abc.com:/var/www/wordpress/ /var/www/

Don’t forget to include :

here abc.com is server name then colon then server path one space and then path of server where we want file to be copied.

Advertisements

About Kapil Chugh

In love with PHP and tweaking WordPress. Hungry for Open Source and new technologies. Honest. God-fearing. Happiest when solving problems.
This entry was posted in Ubuntu and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s