I use the following command initially for a Rsync between Windows and Linux rsync -rvu -e ssh /cygdrive/c//folder user@linux.host.com:/home/public I was asked for user@linux.host.com's password. I type the password and the process continue and success. Then I change the command to (without "-e ssh") rsync -rvu /cygdrive/c//folder user@linux.host.com:/home/public I was also asked for user@linux.host.com's password. I type the password and the process continue and success. Then I change the command to (without "-e ssh" and "user") rsync -rvu -e ssh /cygdrive/c//folder linux.host.com:/home/public This time I was asked for Windows_user_name@linux.host.com's password because the same user account does not exit on the Linux machine I am unable to log in. I would like to know why attempt one and two's result looks identical? For attempt two without the "-e ssh" how secure is rsync transferring the data? Is it ssh or just plain binary or ASCII transfer? -------------- next part -------------- HTML attachment scrubbed and removed
On 9/7/07, Yue Davis <davisyue@gmail.com> wrote:> I would like to know why attempt one and two's result looks identical? For > attempt two without the "-e ssh" how secure is rsync transferring the data? > Is it ssh or just plain binary or ASCII transfer?The first two commands do exactly the same thing because the destination has a single colon, indicating rsync over a remote shell, and the default remote shell is ssh. All "-e ssh" does in this situation is explicitly restate the default. (If the source or destination is an rsync daemon, "-e ssh" does make a difference: it indicates a single-use daemon invoked over ssh.) Matt
On 9/9/07, Matt McCutchen <hashproduct+rsync@gmail.com> wrote:> The first two commands do exactly the same thing because the > destination has a single colon, indicating rsync over a remote shell, > and the default remote shell is ssh. All "-e ssh" does in this > situation is explicitly restate the default. (If the source or > destination is an rsync daemon, "-e ssh" does make a difference: it > indicates a single-use daemon invoked over ssh.) > > MattUnless it is a really old version of rsync where the default shell was rsh. Yue, what version of rsync are you using? -- Aaron W Morris (decep)