Merge pull request #3718 from MichaelEischer/sftp-docs-fix

doc: sftp with password actually works
This commit is contained in:
Alexander Neumann 2022-04-23 20:27:27 +02:00 committed by GitHub
commit e4780d3956
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -67,9 +67,9 @@ SFTP
****
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
important since restic fails to connect to the repository if the server
prompts for credentials.
SSH and let it know your public key. Passwordless login is important
since automatic backups are not possible if the server prompts for
credentials.
Once the server is configured, the setup of the SFTP repository can
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
received by the client. This can happen when restic is processing huge
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:
::