My Tech notes: Copy File From Linux to Linux Machine - Use SCP
Subscribe

Unix Documentation

Free Online Unix Training Materials

Lists many links to free Unix training materials.

Pointers and Arrays Materials

Pointers and Arrays materials Explained for C beginners

C FAQ and General Questions C Interview Questions

Powered By

Free XML Skins for Blogger

Powered by Blogger

Thursday, August 28, 2008

Copy File From Linux to Linux Machine - Use SCP

Today I learn about how to do secure copy from one linux machine to another linux machine.

To copy files from one linux machine to another linux machine, one has to know login name and password for destination linux machine.

simple use: of scp command.

$ scp localfile username@destination_name or_IP:/dir/

it will prompt for password. provide the password and you file is copied.

Below is compete demo..
$ scp ~bhagwat/.htpasswd root@192.168.2.143:/home/bhagwat/firmware/sedna/apps/NAS-2/filesystem/image_sedna/applications/nas/webserver/cgi-bin/login/
root@192.168.2.143's password:
.htpasswd 100% 20 0.0KB/s 00:00

No comments:

Post a Comment