Hello, I'm using Sun SSH on Solaris 9 and am getting the following error when using rsync over ssh: wrote 91628 bytes read 116 bytes 16680.73 bytes/sec total size is 293287825 speedup is 3196.81 rsync error: unexplained error (code 255) at main.c(633) The command I am using is: rsync -e ssh --rsync-path=/opt/rsync/bin/rsync -vazul /sample/path/ server:/sample/path/ When I change 'ssh' to be 'rsh', the error goes away. I have to do ugly things to make my destination insecure, of course. Has anybody else seen this? Any ideas? I haven't tried using OpenSSH instead of Sun SSH yet. thanks, -john
On Wed, May 05, 2004 at 03:45:55PM -0700, John Martinez wrote:> wrote 91628 bytes read 116 bytes 16680.73 bytes/sec > total size is 293287825 speedup is 3196.81 > rsync error: unexplained error (code 255) at main.c(633)When ssh exits, it returns an exit code. Rsync reads the code, and returns it back to you. I'm assuming that is where this unexplained error code is coming from. You might try executing some other command outside of rsync and seeing what the exit code is: ssh host uptime ; echo $? If there are no other rsync errors, then you may be able to just ignore the failure coming from Sun's ssh. However, switching to openssh may be a better long-term option. ..wayne..
Reasonably Related Threads
- unexplained error (code 255)
- rsync 2.5.5, HPUX, getting unexplained error at main.c(578)
- Unexplained error (code 24)
- The problems with rsync continues. (code 255)
- DO NOT REPLY [Bug 6461] New: rsync occassionally issues the message "rsync error: unexplained error (code 255) at main.c(1506) [generator=3.0.4]"