"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
doc: Clarify 'key' option for host key on serve sftp
Michael Gec8a88478706
diff --git a/cmd/serve/sftp/sftp.go b/cmd/serve/sftp/sftp.goindex 7a4508f5a..5cc27c91b 100644--- a/cmd/serve/sftp/sftp.go+++ b/cmd/serve/sftp/sftp.go@@ -20,7 +20,7 @@ import (// Options contains options for the http Servertype Options struct {ListenAddr string // Port to listen on- Key string // Path to private key+ Key string // Path to private host keyAuthorizedKeys string // Path to authorized keys fileUser string // single usernamePass string // password for user@@ -40,7 +40,7 @@ var Opt = DefaultOptfunc AddFlags(flagSet *pflag.FlagSet, Opt *Options) {rc.AddOption("sftp", &Opt)flags.StringVarP(flagSet, &Opt.ListenAddr, "addr", "", Opt.ListenAddr, "IPaddress:Port or :Port to bind server to.")- flags.StringVarP(flagSet, &Opt.Key, "key", "", Opt.Key, "SSH private key file (leave blank to auto generate)")+ flags.StringVarP(flagSet, &Opt.Key, "key", "", Opt.Key, "SSH private host key file (leave blank to auto generate)")flags.StringVarP(flagSet, &Opt.AuthorizedKeys, "authorized-keys", "", Opt.AuthorizedKeys, "Authorized keys file")flags.StringVarP(flagSet, &Opt.User, "user", "", Opt.User, "User name for authentication.")flags.StringVarP(flagSet, &Opt.Pass, "pass", "", Opt.Pass, "Password for authentication.")