Operating System - HP-UX
1834462 Members
2995 Online
110067 Solutions
New Discussion

Re: rsync is denying access

 
SOLVED
Go to solution
Yaboto
Super Advisor

rsync is denying access

Hi,

rsync is asking me to give password before transfering files to the remote server. I supply the root passwd but not it is still denying me access.
Please help.

Regards,
Berag
5 REPLIES 5
Jeeshan
Honored Contributor

Re: rsync is denying access

Mike_305
Super Advisor

Re: rsync is denying access

Hello,

you can do following.

If you don't want to use the switches then take them out.

rsync [OPTION]... SRC [SRC]... [USER@]HOST::DEST

For example:

/usr/local/bin/rsync -v -a -r -p -o -g /abc/abx11/ root@hostname:/xyz/xyz11/

Thanks,

M

If there is problem then don't think as problem, think as opportunity.
Yaboto
Super Advisor

Re: rsync is denying access

Hi,

Here is what it is giving me:

# /usr/local/bin/rsync -avz bnk.jnl root@172.25.34.82:/bogt24
Password:
sh: rsync: not found.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(453) [sender=
2.6.9]
#

Please help

Regards,
Berag
TTr
Honored Contributor
Solution

Re: rsync is denying access

It looks like you are using the remsh method to connect with rsync and the shell on the other side can not find the rsync binary because it is not in the default PATH.

Type the following

remsh 172.25.34.82 which rsync

If it fails, you have to have rsync in the default path of remshd path on the 172.25.34.82 server.
Yaboto
Super Advisor

Re: rsync is denying access

Thanks very much