From f9219e8608d03159ac1b80a6cddc10df88a845ed Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sat, 23 Apr 2022 11:57:36 +0200 Subject: [PATCH] doc: sftp with password actually works --- doc/030_preparing_a_new_repo.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/030_preparing_a_new_repo.rst b/doc/030_preparing_a_new_repo.rst index 89965005a..d1644cf82 100644 --- a/doc/030_preparing_a_new_repo.rst +++ b/doc/030_preparing_a_new_repo.rst @@ -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 client’s .ssh/config file: + to the client's .ssh/config file: ::