> Humm, very strange. SSH always transfers in binary mode, it never does
> translations. If you are on a UNIX machine there are no CRs at the end of
> the line just LFs, the Mac uses just CRs and windoze uses a CRLF
> sequence. SSH will not touch any of these on any platform as far as I
> know.
To be blunt, why are the programs that implement the ssh protocol so stupid?
Ftp solved this problem years ago by making ascii transfers part of the
protocol. Apparently ssh doesn't do this, but that doesn't stop an ssh
program from doing the trivial line termination translations when it sends a
file. All that would be needed are commands or checkboxes for, say,
"binary", "to-unix", "to-dos" and "to-mac". Auto-sensing is a little harder,
and I don't know if an ssh program can tell what OS is running on the other
end.