SUMMARY: rsync issue

From: Shahul Hameed <vpshahu_at_yahoo.com>
Date: Tue Aug 23 2005 - 04:41:16 EDT
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@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@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 
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers

-- 

<< 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 
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Aug 23 04:41:50 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:50 EST