1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-09 12:03:20 +00:00
Files
rclone/cmd/serve/sftp
Nick Craig-Wood 9d9999d17b 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-13 16:48:18 +00:00
..