What is the default remote shell for rsync?

Solution 1:

It's going to default to whatever shell you have set as default on the remote side. if your rsync line looks like this:

rsync -avz /local/file [email protected]:/remote/file

... Then it's going to be remoteuser's default shell. Easy way to check is to cat /etc/passwd

EDIT: I answered what you asked, but not what you meant. Simple rule of thumb: If you're using two colons, you're probably using rsh. If you're using one colon, it's ssh.

Solution 2:

From the man page:

"Typically, rsync is configured to use ssh by default, but you may prefer to use rsh on a local network."