msgbartop
I will happily conduct a FREE basic web security scan for any genuine organization interested in my services to point out whether or not I can find vulnerabilities in your application. Just contact me.
Need a PHP Programmer, PHP staff or project manager? Contact me now.
msgbarbottom

17 Mar 09 Copy files securely from host to host with SCP

SCP is a really handy utility for copying files to or from your machine to another host over SSH.

Usage:

scp /tmp/myfile user@otherhost:/tmp/
Will send /tmp/myfile over to /tmp/ on otherhost

scp user@otherhost:/etc/passwd ~/
Will copy /etc/passwd from otherhost to my home directory (~/)

Like everything in Linux, it’s that easy :-)

As SCP uses SSH as it’s transport, key authentication will allow a passwordless login.

Tags: , ,



Reader's Comments

  1. |

    dose this work on Ubuntu Server 8.10 ?



Leave a Comment

You must be logged in to post a comment.