Results 1 to 2 of 2
I attempted an rsync as follows:
Code:
/usr/bin/rsync -avz --rsh='ssh -p1022' --delete $REMOTEHOST:$REMOTEHOMEDIR/ $LOCALHOMEDIR 2>&1 >> $LOGFILE
I get the following error:
Code:
ssh_exchange_identification: Connection closed by remote host
rsync: ...
- 09-19-2011 #1Just Joined!
- Join Date
- Jul 2011
- Posts
- 11
rsync failure
I attempted an rsync as follows:
I get the following error:Code:/usr/bin/rsync -avz --rsh='ssh -p1022' --delete $REMOTEHOST:$REMOTEHOMEDIR/ $LOCALHOMEDIR 2>&1 >> $LOGFILE
I am currently investigating with Network to find out if I have a firewall issue. Hypothetically, if I do not have a firewall issue, is it true that in order for this to work I should have entries in either rhosts or host.equiv ? to make this work?Code:ssh_exchange_identification: Connection closed by remote host rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(459) [receiver=2.6.8] hostname:/home/ut1khn/bin #
- 09-20-2011 #2Just Joined!
- Join Date
- Jul 2011
- Posts
- 11
Replying to my own thread: I did indeed have a firewall issue. FYI, I do not have entries in either rhosts or host.equiv and rsync is now working fine. Sorry to have bothered you.


Reply With Quote