SUMMARY: rsync issue

2007-12-25 5:18:00

Hi,

David pointed it right. The problem was with sshd_config file. After changing sshd_config, the permission issue disappeared.

Now I am getting below error during rsync. Please let me know if you have faced this before.

select: Bad file number
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(434)

TIA
Shahul

David Foster <foster at ncmir.ucsd.edu> wrote:

Check your sshd_config file, which has an option PermitRootLogin
which is "no" by default.

Note that this is a bit of a security risk, we do rsync backups
over NFS so we don't have to open this up.

Dave Foster

Shahul Hameed wrote:
> Hi,
>
> I am trying to setup rsync. As per me all ssh files are in place. In the local system the following files are in place.
>
> $HOME/.ssh/identity
> identity.pub
> $HOME/.rhosts
>
> In the remoe system
>
> $HOME/.ssh/authorzed_keys
> $HOME/.rhosts
>
> When I run #rsync -a remote system:/ it asks
>
> root at remotesystem 's passwd:
>
> If I give passwd it says, permission denied. Could some one tell me where I am going wrong.
>
> TIA
> Shahul
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> codeprof mailing list
> codeprof at codeprof.com
> http://www.codeprof.com/execute/ask/?codeinfoid=37520

--

<< All opinions expressed are mine, not the University's >>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
David Foster National Center for Microscopy and Imaging Research
IT Manager, Programmer University of California, San Diego
dfoster[at]ucsd[dot]edu Department of CRBS, Mail 0608
(858) 534-7968 http://ncmir.ucsd.edu/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore, all
progress
depends on the unreasonable." -- George Bernard Shaw
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Comments

Got something to say?

You must be logged in to post a comment.