LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 04-17-2008, 04:19 AM   #1
deepika5
LQ Newbie
 
Registered: Apr 2008
Posts: 16

Rep: Reputation: 0
Question how to copy folder between machines


how to use 'rcp' to copy foder frm 1 machine to another. do it also asks for password??
 
Old 04-17-2008, 04:56 AM   #2
vijays
LQ Newbie
 
Registered: Apr 2008
Posts: 5

Rep: Reputation: 0
rcp -r documents zeus.univ.edu:backups

Copies the directory "documents", including all subdirectories, from the local machine to the directory "backups" in the user's home directory on the computer with URL zeus.univ.edu, assuming that the user names are the same on both systems.

rcp -r zeus.univ.edu:backups/documents study

Copies the directory "documents", including all subdirectories, from the remote machine to the directory "study" on the local machine.

-Vijay
 
Old 04-17-2008, 05:04 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
And don't double post - it really p*(^s people off

Last edited by billymayday; 04-17-2008 at 05:05 AM.
 
Old 04-17-2008, 06:39 AM   #4
deepika5
LQ Newbie
 
Registered: Apr 2008
Posts: 16

Original Poster
Rep: Reputation: 0
when i try to do rcp
it gives back message "connection refused"
 
Old 04-17-2008, 09:34 AM   #5
felixc
Member
 
Registered: Jul 2005
Distribution: Debian
Posts: 94

Rep: Reputation: Disabled
Try scp instead of rcp. On many systems rcp is actually just an alias to scp, but it could be that you actually have both methods available.

scp works over SSH, so not only are your files secure while in transit, authentication will work based on your SSH username and password or key.

man scp for more information.
 
Old 04-17-2008, 01:34 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Follow-ups go to
http://www.linuxquestions.org/questi...chines-635921/
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to copy folder between machines deepika5 Linux - Networking 23 09-03-2010 12:30 PM
Easy Way to copy machines? POST HERE!! richinsc Debian 8 02-17-2008 11:19 PM
How do I copy files from a linux machine to a Windows machines? hello321_1999 Linux - Software 11 05-15-2006 01:58 PM
Copy Files across two machines. abhijeetudas Linux - Security 6 04-25-2005 03:50 AM
Need to copy OS + hard drive contents between two machines with different hardware. tayo Linux - Newbie 12 07-24-2004 10:19 AM


All times are GMT -5. The time now is 07:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration