Hide Forgot
Description of problem: using rsync with ssh results in this: OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006 usage: ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-i identity_file] [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-R [bind_address:]port:host:hostport] [-S ctl_path] [-w tunnel:tunnel] [user@]hostname [command] rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: unexplained error (code 255) at io.c(600) [receiver=3.0.6] Version-Release number of selected component (if applicable): 3.0.6-4 How reproducible: Tried on two systems and was unable to rsync over ssh. I received the same error both times. Steps to Reproduce: 1. rsync -v -e "ssh -vvv" does.not.have.to.be.resolvable:/irrelevant /irrelevant/ 2. 3. Actual results: OpenSSH_4.3p2, OpenSSL 0.9.8b 04 May 2006 usage: ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-i identity_file] [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-R [bind_address:]port:host:hostport] [-S ctl_path] [-w tunnel:tunnel] [user@]hostname [command] rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: unexplained error (code 255) at io.c(600) [receiver=3.0.6] Expected results: host identity accept, login prompt, rsync performed Additional info: rpm -q openssh openssh-clients openssh-4.3p2-72.el5_6.3 openssh-clients-4.3p2-72.el5_6.3
adding a username to the source or destination host solves the problem: rsync -v -e "ssh -vvv" username.have.to.be.resolvable:/irrelevant /irrelevant/ OR rsync -v -e "ssh -vvv" /irrelevant/ username.have.to.be.resolvable:/irrelevant is this a new requirement or an oversight?
*** This bug has been marked as a duplicate of bug 724041 ***