Sorry for not providing the details, just was doing a test.
trying to sync test1 dir from below path in lserver1(app01.prz.ap.com) to rserver (app02.prz.ap.com)
/ngs/app/essbase/test1
rsync -a test1
user@app02.prz.ap.com:/home/essbase/Appfiles/test1
asks for logging into app02.prz.ap.com and the gives the error once the password is provided :
got the error :rsync: connection unexpectedly closed (0 bytes received so far) [sender]rsync error: unexplained error (code 255) at io.c(600) [sender=3.0.6
Thanks.