Hello. I need to copy several file from one PC to another over Internet, both using CentOS. What file manager that works over console do you recommend me? Thanks at all Best Regards
On Sun, Aug 17, 2008 at 11:19 AM, Linux Man <linuxman.uru at gmail.com> wrote:> Hello. > I need to copy several file from one PC to another over Internet, both > using CentOS. > What file manager that works over console do you recommend me? > Thanks at all > Best Regards > _______________________________________________ >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 at otherhost:/home/user1/myfile . This assumes user1 is a user on that machine, and has SSH access. The file /home/user1/myfile will be copied to the current folder - denoted by the dot ( . ) -- Kind Regards Rudi Ahlers -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080817/90b32cac/attachment-0005.html>
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 at otherhost:/home/user1/myfile .... and in fact, if /home/user1 is user1 at otherhost's home directory, that can be shortened to... $ scp user1 at otherhost:myfile . you can also copy the other way... $ scp myfile user1 at otherhost:. which would put it in user1 at otherhost's home directory... or... $ scp -R . user1 at otherhost:/remote/path would copy ALL files and subdirectories from the current directory to /remote/path on otherhost... `man scp` for lots more options...
Thanks for your help. Yes, I used scp several time and still using it :) But in this case there's a lot of file in different directories, so I need a tool like mc (I don't know if mc runs always over ssh) What file manager that works over console do you recommend me? Thanks at all Best Regards 2008/8/17 Rudi Ahlers <rudiahlers at gmail.com>:> > > On Sun, Aug 17, 2008 at 11:19 AM, Linux Man <linuxman.uru at gmail.com> wrote: >> >> Hello. >> I need to copy several file from one PC to another over Internet, both >> using CentOS. >> What file manager that works over console do you recommend me? >> Thanks at all >> Best Regards >> _______________________________________________ > > 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 at otherhost:/home/user1/myfile . > > This assumes user1 is a user on that machine, and has SSH access. The file > /home/user1/myfile will be copied to the current folder - denoted by the dot > ( . ) > > -- > > Kind Regards > Rudi Ahlers > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >
Linux Man wrote:> Hello. > I need to copy several file from one PC to another over Internet, both > using CentOS. > What file manager that works over console do you recommend me? > Thanks at all > Best RegardsIf the client is running X, then konqueror using the fish protocol (fish://user at ip-address/) supports transfers over ssh, and gftp supports the ssh2 protocol too. Ned
On Sun, 17 Aug 2008, Linux Man wrote:> Hello. > I need to copy several file from one PC to another over Internet, both > using CentOS. > What file manager that works over console do you recommend me? > Thanks at all > Best RegardsYou've got a lot of good suggestions already but sftp is also a good one. Very similar to ftp but over ssh. -- Mike