Using rsync from OSF with commercial ssh.com to Solaris with Sun ssh works fine.
Using rsync from Solaris with Sun (OpenSSH derived) to OSF fails with:
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(359)
This sounds like the scp compatibility problem between the two. Does rsync use
ssh protocol 2 or protocol 1 which scp uses? Because protocol 1 is not running
on the OSF machine.
Rsync doesn't use any ssh protocol itself -- it just calls ssh and lets it do
whatever you've configured ssh to do. You can affect this by either setting
per-host config items in your ssh config file, or by setting ssh options using
the --rsh (-e) option, like this:
You can also specify 2 -v options to see what command rsync is running to talk
to the remote host and you can try running that outside of rsync to see what it
does (you can substitite a different remote command than rsync too, such as