Re: file manager over ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Rudi Ahlers wrote:
scp is the easiest in this regard. It runs over SSH, so your data is secure - especially if it's over the open internet.

The commands are as follows: scp user1@otherhost:/home/user1/myfile .
...

and in fact, if /home/user1 is user1@otherhost's home directory, that can be shortened to...

   $ scp user1@otherhost:myfile .

you can also copy the other way...

   $ scp myfile user1@otherhost:.

which would put it in user1@otherhost's home directory...  or...

   $ scp -R .  user1@otherhost:/remote/path

would copy ALL files and subdirectories from the current directory to /remote/path on otherhost...

`man scp` for lots more options...


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux