In lineage 17.1 I installed the app SSH server (by Banana Studio, from Play store). When starting and accessing by my PC (smartphone and PC are in WiFi) via sftp -P 2222 [email protected] I see no files there, but there are photos in the smartphone folder /storage/emulated/0/DCIM/Camera. When doing cd storage the connection is closed. My PC has ubuntu 18.04.

  • Could you mention which "ssh server" app? I found multiple apps with the same name but different capitalization: Ssh server and SSH Server.
    – Andrew T.
    Commented Mar 21, 2021 at 10:14
  • @Andrew T. SSH Server by Banana Studio. (But I do not have to stick to this one.)
    – ubuntuuser
    Commented Mar 21, 2021 at 11:05
  • cd storage is not a valid command. You should do cd /storage/emulated/0. But that would work only if your SSH server app has Storage permission granted. Commented Mar 24, 2021 at 7:15
  • 1
    Use OpenSSH on Termux: wiki.termux.com/wiki/Remote_Access#OpenSSH Commented Mar 26, 2021 at 6:38
  • 1
    Grant Storage permission as already said. Commented Mar 29, 2021 at 18:27

1 Answer 1


Comment of @Irfan Latif solved the problem. Going to Settings -> Apps -> Termux -> Permissions) and granting (i e. checking the box).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .