From d8886b37a6e10513bcf4a8056a2e32bdfc8599e8 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 11 Oct 2021 09:49:27 +0100 Subject: [PATCH] serve sftp: update docs on host key generation --- cmd/serve/sftp/sftp.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/serve/sftp/sftp.go b/cmd/serve/sftp/sftp.go index 54854044e..42325e1d5 100644 --- a/cmd/serve/sftp/sftp.go +++ b/cmd/serve/sftp/sftp.go @@ -84,8 +84,10 @@ that it can provide md5sum/sha1sum/df information for the rclone sftp backend. This means that is can support SHA1SUMs, MD5SUMs and the about command when paired with the rclone sftp backend. -If you don't supply a --key then rclone will generate one and cache it -for later use. +If you don't supply a host --key then rclone will generate rsa, ecdsa +and ed25519 variants, and cache them for later use in rclone's cache +directory (see "rclone help flags cache-dir") in the "serve-sftp" +directory. By default the server binds to localhost:2022 - if you want it to be reachable externally then supply "--addr :2022" for example.