How to use scp command in linux ubuntu 10.04,11.04,11.10


Scp is very much useful tiny tool in linux for securely copying file between remote host.Only you need to know is username and password  of remote/destination host.

To run this tool.Follow these steps.

Type following command :

scp scptest.tar.gz [email protected]:


scptest.tar.gz is the file which you want to send/transfer to remote host (

root is the username of remote host. is the ip address of remote host .

: stands for remote host completion or can say that file will be copied in root directory of remote host.

Then you will ask for password. Give password of root of remote host.

For recursively copying files/folder,

scp  -r scptest.tar.gz [email protected]:

scp filename [email protected] host addresss :

for eg.





Screen shot


Bikram Kawan
Hello Readers,This is Bikram Kawan from Nepal. You can follow me onG+ Facebook Twitter Connect with me on Google+

How to Import Outlook Messages to Thunderbird on Ubuntu 10.04 Lucid

Previous article

CloudFlare lunches Automatic IPv6 : Make your site compatible for IPv6 with a click

Next article

You may also like

Leave a Reply

Notify of

More in Ubuntu/Linux