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
..
connection_test.go serve sftp: serve an rclone remote over SFTP 2019-05-11 23:39:04 +01:00
connection.go doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
handler.go serve sftp: use VFS utility functions instead of own copy 2020-04-19 15:40:55 +01:00
server.go serve sftp: fix authentication on one connection blocking others - fixes #4882 2021-01-13 16:48:18 +00:00
sftp_test.go serve sftp: Add support for public key with auth proxy - fixes #3572 2020-01-15 16:23:57 +00:00
sftp_unsupported.go serve sftp: serve an rclone remote over SFTP 2019-05-11 23:39:04 +01:00
sftp.go serve sftp: add support for multiple host keys by repeating --key flag 2020-05-09 14:43:17 +01:00