zhanghai / zhanghai/MaterialFiles

Error accessing SFTP

Open
#1,045 5 comments 0 reactions 1 assignee View on GitHub

@zhanghai is already working on this.

Since Oct 21, 2023.

question
Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

Trying to access a local ssh server (termux) I get an error:
java8.nio.file.AccessDeniedException: /: net.schmizz.sshj.sftp.SFTPException: Permission denied
While this might seem as a permission denied case, termux ssh logs show:
10-18 20:52:02.496 23094 23094 I sshd : Accepted password for (redacted username) from 127.0.0.1 port 43686 ssh2
With not prior, nor further errors or somehow negative messages.
Using Solid Explorer, I can access with no problems, same case from my laptop through ssh.
Great app, btw. It was long due to have something like this project at hand.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.