use sftp.NewRequestServer with custom handlers
AkihiroSuda opened this issue · 0 comments
AkihiroSuda commented
We should use https://pkg.go.dev/github.com/pkg/sftp@v1.12.0#NewRequestServer to prevent the remote host from accessing unexpected local directories (if sshfs
had a bug)