2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-01 08:30:49 +00:00

doc: sftp with password actually works

This commit is contained in:
Michael Eischer 2022-04-23 11:57:36 +02:00
parent 07a565e6f7
commit f9219e8608

View File

@ -67,9 +67,9 @@ SFTP
**** ****
In order to backup data via SFTP, you must first set up a server with In order to backup data via SFTP, you must first set up a server with
SSH and let it know your public key. Passwordless login is really SSH and let it know your public key. Passwordless login is important
important since restic fails to connect to the repository if the server since automatic backups are not possible if the server prompts for
prompts for credentials. credentials.
Once the server is configured, the setup of the SFTP repository can Once the server is configured, the setup of the SFTP repository can
simply be achieved by changing the URL scheme in the ``init`` command: simply be achieved by changing the URL scheme in the ``init`` command:
@ -148,7 +148,7 @@ SFTP connection, you can specify the command to be run with the option
.. note:: Please be aware that sftp servers close connections when no data is .. note:: Please be aware that sftp servers close connections when no data is
received by the client. This can happen when restic is processing huge received by the client. This can happen when restic is processing huge
amounts of unchanged data. To avoid this issue add the following lines amounts of unchanged data. To avoid this issue add the following lines
to the clients .ssh/config file: to the client's .ssh/config file:
:: ::