mirror of
https://github.com/borgbackup/borg.git
synced 2026-10-12 02:11:36 +00:00
Like --remote-path, --rsh was only honoured on the legacy (borg 1.x, ssh://) code path. For borg2 repositories the remote shell command comes from borgstore, which reads its own BORGSTORE_RSH environment variable, so --rsh silently had no effect there. Remove the option; BORG_RSH is now the only way to set the remote shell command. For borgstore-based repositories, borg gives the BORG_RSH value to borgstore as BORGSTORE_RSH, except if that was set explicitly (then the user wants a different command for borgstore). borg benchmark crud does not need to inherit --rsh / --remote-path into its sub-invocations any more (environment variables are inherited anyway), so the parse_args wrapper is gone.