Skip to content

manpage: clarify remote-shell daemon user@ handling#1032

Merged
tridge merged 1 commit into
RsyncProject:masterfrom
tridge:pr-doc-daemon-rsh-user
Jul 20, 2026
Merged

manpage: clarify remote-shell daemon user@ handling#1032
tridge merged 1 commit into
RsyncProject:masterfrom
tridge:pr-doc-daemon-rsh-user

Conversation

@tridge

@tridge tridge commented Jul 20, 2026

Copy link
Copy Markdown
Member

The description of user@host::module transfers over a remote shell only documented the "ssh -l ssh-user" form, which led readers to conclude that user@ never reaches the remote shell. In fact, for the simple --rsh=ssh user@host::module form the user@ prefix is used both as the ssh login user (ssh -l user) and as the rsync-user offered to the module; the two are the same name. rsync only omits its own -l when the remote shell command already specifies one, in which case user@ becomes the rsync-user alone.

Spell out the default behaviour and why the explicit -l is needed to use a different ssh login than the rsync-user.

closes #1020

The description of user@host::module transfers over a remote shell only
documented the "ssh -l ssh-user" form, which led readers to conclude that
user@ never reaches the remote shell. In fact, for the simple
`--rsh=ssh user@host::module` form the user@ prefix is used both as the
ssh login user (ssh -l user) and as the rsync-user offered to the module;
the two are the same name. rsync only omits its own -l when the remote
shell command already specifies one, in which case user@ becomes the
rsync-user alone.

Spell out the default behaviour and why the explicit -l is needed to use
a different ssh login than the rsync-user.
@tridge
tridge merged commit 3b84610 into RsyncProject:master Jul 20, 2026
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Behaviour differs from manpage when contacting rsync daemon via remote shell

1 participant