From 090cd1cc4dfab7a748857a3ab28f57e8d2c63e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20L=C3=B3pez?= Date: Mon, 21 Sep 2020 17:18:03 -0700 Subject: [PATCH] Minor edits for SFTP documentation (#635) --- site/content/docs/Repositories/_index.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/site/content/docs/Repositories/_index.md b/site/content/docs/Repositories/_index.md index 1aafab4f8..12cfd4985 100644 --- a/site/content/docs/Repositories/_index.md +++ b/site/content/docs/Repositories/_index.md @@ -116,20 +116,20 @@ $ kopia repository connect b2 The `SFTP` provider can be used to connect to a file server over SFTP/SSH protocol. -You must first configure passwordless SFTP login by following [these instructions](https://www.redhat.com/sysadmin/passwordless-ssh). Make sure to choose empty passphrase, because Kopia does not support password prompts on each use. +You must first configure passwordless SFTP login by following [these instructions](https://www.redhat.com/sysadmin/passwordless-ssh). Choose an empty passphrase because Kopia does not allow password prompts for the backend. If everything is configured correctly, you should be able to connect to your SFTP server without any password by using: ``` $ sftp some-user@my-server Connected to my-server. -sftp> +sftp> ``` ### Creating a repository -Assiuming passwordless connection worked, you can now create SFTP repository. Assuming you want the files to be stored under `/remote/path`, run the following command: +Once the passwordless connection works, then you can create a Kopia SFTP repository. Assuming you want the files to be stored under `/remote/path`, run the command below. Adjust the user name and paths to the key file and known hosts file as necessary. ```shell $ kopia repository create sftp \ @@ -140,8 +140,6 @@ $ kopia repository create sftp \ --path /remote/path ``` -(adjust paths to the key file and known hosts file as necessary). - When prompted, enter Kopia password to encrypt the repository contents. If everything is done correctly, you should be able to verify that SFTP server indeed has Kopia files in the provided location, including special file named `kopia.repository.f`: