"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
sftp: update docs to match code, fix typos and clarify disable_hashcheck prompt
Michael G. Nolld1ca8b89596a
diff --git a/backend/sftp/sftp.go b/backend/sftp/sftp.goindex c00736035..8e1537455 100644--- a/backend/sftp/sftp.go+++ b/backend/sftp/sftp.go@@ -74,7 +74,7 @@ func init() {Optional: true,}, {Name: "use_insecure_cipher",- Help: "Enable the user of the aes128-cbc cipher. This cipher is insecure and may allow plaintext data to be recovered by an attacker..",+ Help: "Enable the user of the aes128-cbc cipher. This cipher is insecure and may allow plaintext data to be recovered by an attacker.",Optional: true,Examples: []fs.OptionExample{{@@ -87,7 +87,7 @@ func init() {},}, {Name: "disable_hashcheck",- Help: "Disable the exectution of SSH commands to determine if remote file hashing is available, leave blank unless you know what you are doing.",+ Help: "Disable the execution of SSH commands to determine if remote file hashing is available. Leave blank or set to false to enable hashing (recommended), set to true to disable hashing.",Optional: true,}},}diff --git a/docs/content/sftp.md b/docs/content/sftp.mdindex fa79f2ae2..270e9ef94 100644--- a/docs/content/sftp.md+++ b/docs/content/sftp.md@@ -167,10 +167,11 @@ your RClone backend configuration to disable this behaviour.SFTP supports checksums if the same login has shell access and `md5sum`or `sha1sum` as well as `echo` are in the remote's PATH.-This remote check can be disabled by setting the configuration option-`disable_hashcheck`. This may be required if you're connecting to SFTP servers+This remote checksumming (file hashing) is recommended and enabled by default.+Disabling the checksumming may be required if you are connecting to SFTP serverswhich are not under your control, and to which the execution of remote commands-is prohibited.+is prohibited. Set the configuration option `disable_hashcheck` to `true` to+disable checksumming.The only ssh agent supported under Windows is Putty's pageant.