rclone/cmd
Nick Craig-Wood c553ad5158 serve sftp: fix authentication on one connection blocking others - fixes #4882
Before this change, if one connection was authenticating this would
block any others from authenticating.

This was due to ssh.NewServerConn not being called in a go routine
after the Accept call.

This is fixed by running the ssh authentication in a go routine.

Thanks to @FiloSottile for advice on how to fix this.

See: https://github.com/golang/go/issues/43521
2021-01-06 15:34:07 +00:00
..
about docs: update rclone about docs 2020-11-27 14:08:52 +00:00
all backend: add new backend command for backend specific commands 2020-04-29 10:10:57 +01:00
authorize config: add context.Context #3257 #4685 2020-11-09 18:05:54 +00:00
backend fs: Add context to NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
cachestats build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
cat docs: restore lost spelling fixes 2020-02-10 15:29:39 +00:00
check check: fix docs 2020-09-07 12:10:52 +01:00
cleanup docs: Add full stops for consistency in rclone --help 2020-09-08 16:26:09 +01:00
cmount mount: just set default options without checking if customized by user, because it will be overridden anyway 2020-12-28 13:59:34 +00:00
config fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
copy docs: Add full stops for consistency in rclone --help 2020-09-08 16:26:09 +01:00
copyto docs: Add full stops for consistency in rclone --help 2020-09-08 16:26:09 +01:00
copyurl doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
cryptcheck check,cryptcheck: add reporting of filenames for same/missing/changed #3264 2020-07-21 22:08:13 +01:00
cryptdecode crypt: get rid of the unused Cipher interface as it obfuscated the code 2020-04-22 11:33:48 +01:00
dbhashsum Add a download flag to hashsum and related commands to force rclone to download and hash files locally 2020-12-27 15:40:44 +00:00
dedupe docs: fix a typo in the dedupe docs 2021-01-05 15:46:57 +00:00
delete docs: update documentation of commands delete,purge,rmdir,rmdirs 2020-11-23 17:10:08 +00:00
deletefile cmd: fix spelling of Definition 2019-10-14 17:02:09 +01:00
genautocomplete docs: spelling: e.g. 2020-10-28 18:16:23 +00:00
gendocs docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
hashsum Add a download flag to hashsum and related commands to force rclone to download and hash files locally 2020-12-27 15:40:44 +00:00
info fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
link link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
listremotes cmd: fix environment variables not setting command line flags 2019-10-14 17:02:09 +01:00
ls docs: grammar: examples are examples 2020-10-28 18:16:23 +00:00
lsd fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
lsf fs: Add context to NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
lsjson docs: spelling: etc. 2020-10-28 18:16:23 +00:00
lsl cmd: fix spelling of Definition 2019-10-14 17:02:09 +01:00
md5sum Add a download flag to hashsum and related commands to force rclone to download and hash files locally 2020-12-27 15:40:44 +00:00
memtest cmd: fix spelling of Definition 2019-10-14 17:02:09 +01:00
mkdir mkdir: warn when using mkdir on remotes which can't have empty directories 2020-07-08 17:55:58 +01:00
mount mount: cleanup os specific option handling and documentation 2020-12-28 13:59:34 +00:00
mount2 docs: spelling: e.g. 2020-10-28 18:16:23 +00:00
mountlib mount: docs: add section about windows filesystem permissions 2020-12-28 13:59:34 +00:00
move docs: spelling: server-side 2020-10-28 18:16:23 +00:00
moveto docs: promote the use of -i/--interactive and "rclone sync -i" everywhere #1574 2020-06-10 12:33:53 +01:00
ncdu ncdu: add ! (errror) and . (unreadable) file flags to go with e (empty) 2020-12-28 17:25:46 +00:00
obscure docs: Add full stops for consistency in rclone --help 2020-09-08 16:26:09 +01:00
purge docs: update documentation of commands delete,purge,rmdir,rmdirs 2020-11-23 17:10:08 +00:00
rc fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
rcat cmd: fix spelling of Definition 2019-10-14 17:02:09 +01:00
rcd fs: Add context to NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
reveal cmd: fix spelling of Definition 2019-10-14 17:02:09 +01:00
rmdir docs: update documentation of commands delete,purge,rmdir,rmdirs 2020-11-23 17:10:08 +00:00
rmdirs docs: update documentation of commands delete,purge,rmdir,rmdirs 2020-11-23 17:10:08 +00:00
serve serve sftp: fix authentication on one connection blocking others - fixes #4882 2021-01-06 15:34:07 +00:00
settier cmd: fix spelling of Definition 2019-10-14 17:02:09 +01:00
sha1sum Add a download flag to hashsum and related commands to force rclone to download and hash files locally 2020-12-27 15:40:44 +00:00
size cmd: fix environment variables not setting command line flags 2019-10-14 17:02:09 +01:00
sync docs: promote the use of -i/--interactive and "rclone sync -i" everywhere #1574 2020-06-10 12:33:53 +01:00
touch docs: spelling: e.g. 2020-10-28 18:16:23 +00:00
tree fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
version version: replace internal code with github.com/coreos/go-semver 2020-08-31 13:55:04 +01:00
cmd.go cmd: fix wording for no retries message 2021-01-02 11:20:02 +00:00
help.go fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
progress.go Add a download flag to hashsum and related commands to force rclone to download and hash files locally 2020-12-27 15:40:44 +00:00
siginfo_darwin.go cmd: fix up stats printing on macOS after accounting change 2019-07-28 20:38:20 +01:00
siginfo_others.go cmd: add siginfo handler 2018-06-02 17:35:13 +01:00