01-08-2014
Quote:
Originally Posted by
DGPickett
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 /.
thanks for your reply the idea that i have almost 25 servers connected to the server i am working on, yet 24 of them still receiving the file with no errors except for the one i have mentioned above, i tried to use the rcp command directly but it didn't work either it still giving me the same error
i am sorry i couldn't understand how the local copy can be done ? i'm also not familiar with daemon and how to make sure if it is going to receive rcp or not
i would really appreciate your help.
---------- Post updated at 02:43 AM ---------- Previous update was at 02:32 AM ----------
Quote:
Originally Posted by
RudiC
Any log file entries?
which logs you want to check ? so i can copy them here
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(1) General Commands Manual RCP(1)
NAME
rcp - remote file copy
SYNOPSIS
rcp [-p] [-x] [-k realm ] [-D port] [-N] [-PN | -PO] file1 file2
rcp [-p] [-x] [-k realm] [-r] [-D port] [-N] [-PN | -PO] 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).
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.
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; it uses Kerberos authentication when connecting to rhost. Each user may have a private authorization
list in a file .k5login in his login directory. Each line in this file should contain a Kerberos principal name of the form princi-
pal/instance@realm. If there is a ~/.k5login file, then access is granted to the account if and only if the originater user is authenti-
cated to one of the principals named in the ~/.k5login file. Otherwise, the originating user will be granted access to the account if and
only if the authenticated principal name of the user can be mapped to the local account name using the aname -> lname mapping rules (see
krb5_anadd(8) for more details).
OPTIONS
-p attempt to preserve (duplicate) the modification times and modes of the source files in the copies, ignoring the umask.
-x encrypt all information transferring between hosts.
-k realm
obtain tickets for the remote host in realm instead of the remote host's realm as determined by krb_realmofhost(3).
-r if any of the source files are directories, copy each subtree rooted at that name; in this case the destination must be a directory.
-PN
-PO Explicitly request new or old version of the Kerberos ``rcmd'' protocol. The new protocol avoids many security problems found in
the old one, but is not interoperable with older servers. (An "input/output error" and a closed connection is the most likely
result of attempting this combination.) If neither option is specified, some simple heuristics are used to guess which to try.
-D port
connect to port port on the remote machine.
-N use a network connection, even when copying files on the local machine (used for testing purposes).
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.
FILES
~/.k5login (on remote host) - file containing Kerberos principals that are allowed access.
SEE ALSO
cp(1), ftp(1), rsh(1), rlogin(1), kerberos(3), krb_getrealm(3), rcp(1) [UCB version]
BUGS
Rcp doesn't detect all cases where the target of a copy might be a file in cases where only a directory should be legal.
Rcp is confused by any output generated by commands in a .login, .profile, or .cshrc file on the remote host.
Kerberos is only used for the first connection of a third-party copy; the second connection uses the standard Berkeley rcp protocol.
RCP(1)