01-07-2014
Many admins have stopped the r* daemon, as it has too weak security, and use ssh/scp/sftp. Try a local copy using IP addresses and short and long host names before trying remote. Make sure there is a daemon to service rcp. Do not use root id. BTW, to copy /test you need write permission on /.
This User Gave Thanks to DGPickett For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
i first have to ssh into my university account and then through there another ssh into my office computer, from my home computer. I have been trying to transfer files to and from with no such luck.
How do i send a file from home to my office computer.
Do I have to send it to my... (6 Replies)
Discussion started by: yogi1
6 Replies
2. UNIX for Dummies Questions & Answers
Is there a way to scp hidden files only ( with regex ) without specifying the name of the hidden files ?
Many thanks in advance ! :) (13 Replies)
Discussion started by: matrixmadhan
13 Replies
3. Shell Programming and Scripting
Hi,
I had written an FTP script where in I loop through the directories and transfer the files from each and every directory of Windows to UNIX.
Now the problem is when
1. The connection is unable to be established I should return some error codes
2. When there is some system... (1 Reply)
Discussion started by: mahalakshmi
1 Replies
4. AIX
How do I transfer Plain Text and/or BMP image files between my WindowsXP PC and my AIX 4.1 PowerPC?
I have no network or USB options, just a Floppy disk drive and a CD drive on each machine.
Is it possible at all? Any help would be gratefully received:) (7 Replies)
Discussion started by: Pennant Man
7 Replies
5. AIX
Current setup:
Some old AIX standalone machine (F series)
My WinXP laptop
Null modem cable from laptop to AIX machine (console port).
On Hypterminal on WinXP I can connect to the AIX machine (serial connection), but when I try to transfer file, it will just sit there. I'm guessing the... (3 Replies)
Discussion started by: apra143
3 Replies
6. Shell Programming and Scripting
I am trying to transfer my website using ssh(hostbasedauthentication) using:
sudo ssh -o "PasswordAuthentication no" -o "HostbasedAuthentication yes" -l testuser 192.168.3.1 "find /var/www/vhosts/mywebsite.com -depth | grep -f include| cpio -oavc| gzip" > $backup_dir/fullwwwsite$date.cpio.gz
... (5 Replies)
Discussion started by: metallica1973
5 Replies
7. UNIX for Dummies Questions & Answers
Hello , I want to transfer files from one linux server into another , I got it working using SCP command , but I have to type in password for each and every file . All the remote severs have the same password , so is there a way that I can transfer all these files by typing my password only once ? (5 Replies)
Discussion started by: RaviTej
5 Replies
8. Shell Programming and Scripting
Hi Guys,
I have to transfer a few files in my system . The commands to be used are as follows . Will it be possible to send the output of the following in the form of a mail .
cd /export/home/teja
ls -lrt Quote.java*
mv Quote.java Quote.java.20121023
cp /tmp/Quote.java .
ls -lrt... (2 Replies)
Discussion started by: Ravi_Teja
2 Replies
9. Shell Programming and Scripting
Hello All,
Hope all are doing well.
We use scp (some times sftp and rsync also) for transferring big files (around 2GB each ) from 1 Network to another Network.
The Issues which we face :-
During transfer some times( Once in 1 week (or twice)) , the speed of transfer gets down to 30 kb/s,... (2 Replies)
Discussion started by: Upendra Bhushan
2 Replies
10. Shell Programming and Scripting
I have a large number of files with file names of the format
iv.epoz.hhe.d.2018.028.000000.sac
iv.epoz.hhn.d.2018.028.000000.sac
iv.epoz.hhz.d.2018.028.000000.sac
iv.epoz.hhe.d.2018.029.000000.sac
iv.epoz.hhn.d.2018.029.000000.sac
iv.epoz.hhz.d.2018.029.000000.sac... (4 Replies)
Discussion started by: kristinu
4 Replies
RCP(1C) RCP(1C)
NAME
rcp - remote file copy
SYNOPSIS
rcp [ -p ] file1 file2
rcp [ -p ] [ -r ] file ... directory
DESCRIPTION
Rcp copies files between machines. Each file or directory argument is either a remote file name of the form ``rhost:path'', or a local
file name (containing no `:' characters, or a `/' before any `:'s).
If the -r option is specified and any of the source files are directories, rcp copies each subtree rooted at that name; in this case the
destination must be a directory.
By default, the mode and owner of file2 are preserved if it already existed; otherwise the mode of the source file modified by the umask(2)
on the destination host is used. The -p option causes rcp to attempt to preserve (duplicate) in its copies the modification times and
modes of the source files, ignoring the umask.
If path is not a full path name, it is interpreted relative to your login directory on rhost. A path on a remote host may be quoted (using
, ", or ') so that the metacharacters are interpreted remotely.
Rcp does not prompt for passwords; your current local user name must exist on rhost and allow remote command execution via rsh(1C).
Rcp handles third party copies, where neither source nor target files are on the current machine. Hostnames may also take the form
``rname@rhost'' to use rname rather than the current user name on the remote host. The destination hostname may also take the form
``rhost.rname'' to support destination machines that are running 4.2BSD versions of rcp.
SEE ALSO
cp(1), ftp(1C), rsh(1C), rlogin(1C)
BUGS
Doesn't detect all cases where the target of a copy might be a file in cases where only a directory should be legal.
Is confused by any output generated by commands in a .login, .profile, or .cshrc file on the remote host.
4.2 Berkeley Distribution May 12, 1986 RCP(1C)