• Home
  • News
  • Reviews
  • Eye Candy
  • Other Distros
  • Tips 'n Tricks
  • About us
  • Ubuntu Books
Subscribe
spacer
spacer 1703
Followers

Copy files remotely using SCP in Ubuntu

Posted on Thursday, Jan 29, 2009 by webmaster
Posted in:Tips 'n Tricks
Tweet

SCP or Secure Copy is used for  securely transferring files between a local and a remote host or between two remote hosts.  SCP is similar to RCP in many ways. RCP is also an important tool or command in Unix/Linux based systems for transeffering files remotely.
But SCP has a much improved security.

During file transfer, data is encrypted in the case of SCP which is not the case with RCP. Thus SCP essentially protects the users from potential packet sniffers. SCP protocol itself doesn't provide these features, but the underlying SSH does the trick.

  • Take a look on how to remote login using SSH in ubuntu
  • Using SCP you could copy files remotely. Following is the general syntax.

              scp  <file> <username>@<IP address or hostname>:<Destination>

  • Here are some examples.

           Lets say user 'me' has to send the file with name test to the user 'you', while being in the me's account.

                scp test you@192.168.1.1:

  • The default destination is /home/you here. Unless you specify otherwise file will be copied on to the default location as in the example above. If you want to specify location, the following example will help you.

               scp test you@192.168.1.1:/home/you/directory 

Content Courtesy: www.ubuntuguide.org
Content License:www.gnu.org/copyleft/fdl.htm

Press the button below if you liked this site.
Tagged:  
  • All Versions
  • Featured
  • Miscellaneous
  • Remote login
  • Tips 'n Tricks
spacer
webmaster

The brains or the lack of it behind Ubuntu Manual. Crazy about Linux, hates windows except for the fact that it runs many of his favorite games by default. Loves blogging

You might also like

spacer
How to login from another PC in Ubuntu.
spacer
Remote Login using SSH in Ubuntu
spacer
How to open VLC automatically when you insert a DVD
spacer
How to increase internet speed in ubuntu
Your Ad Here

Most Popular Topics

Debian Edu OpenSuse GNU/Linux Zorin OS Linux Gnome Zenlive Calculate Linux Distro Releases KDE FreeNAS antiX Debian Guadalinex

Recent Comments

Useful Articles

  • FreeNAS 8.2.0-BETA2 released
  • Become an Ubuntu Geek using the best books on Ubuntu
  • How to install Samba server in Ubuntu
  • How to install PostgreSQL on Ubuntu
  • How to restore grub in Ubuntu 10.10
spacer 1703
spacer
spacer
This is a private web site that is not connected in any official or financial way with Ubuntu, Canonical PL or Ubuntu.com. Official Ubuntu guides and downloads are freely available at www.ubuntu.com. Ubuntu is a registered trademark of Canonical PL.
Drupal Theme by Antsin
spacer

This work is licensed under Creative Commons Attribution-Share Alike 3.0 Unported License.

Content generated By Content Grid | Powered by Zyxware Technologies

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.