2023-10-18 01:21:06 +00:00
|
|
|
Enhancement: Add config option to set SFTP command arguments
|
|
|
|
|
2023-10-23 17:01:45 +00:00
|
|
|
When using the `sftp` backend, scenarios where a custom identity file was
|
|
|
|
needed for the SSH connection, required the full command to be specified:
|
2023-10-18 01:21:06 +00:00
|
|
|
`-o sftp.command='ssh user@host:port -i /ssh/my_private_key -s sftp'`
|
|
|
|
|
2023-10-23 17:01:45 +00:00
|
|
|
Now, the `-o sftp.args=...` option can be passed to restic to specify
|
|
|
|
custom arguments for the SSH command executed by the SFTP backend.
|
|
|
|
This simplifies the above example to `-o sftp.args='-i /ssh/my_private_key'`.
|
2023-10-18 01:21:06 +00:00
|
|
|
|
|
|
|
https://github.com/restic/restic/pull/4519
|
|
|
|
https://github.com/restic/restic/issues/4241
|