"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
sftp: fix nil check when using auth proxy
Nick Craig-Woodf9946b37f9ca
diff --git a/cmd/serve/sftp/server.go b/cmd/serve/sftp/server.goindex 44bd28795..e41d8cee0 100644--- a/cmd/serve/sftp/server.go+++ b/cmd/serve/sftp/server.go@@ -65,7 +65,7 @@ func (s *server) getVFS(what string, sshConn *ssh.ServerConn) (VFS *vfs.VFS) {if s.proxy == nil {return s.vfs}- if sshConn.Permissions == nil && sshConn.Permissions.Extensions == nil {+ if sshConn.Permissions == nil || sshConn.Permissions.Extensions == nil {fs.Infof(what, "SSH Permissions Extensions not found")return nil}