The title says it all.

Running android 7.1 not rooted device, I am running sshDroid on android device, ssh into it from my laptop.

When I ssh into the device and check the permissions for the SD Card it's owned by root.

Without ROOT access, can I ssh and copy files to the SD Card from my machine?

  • Have you granted the WRITE_EXTERNAL_STORAGE to SSHDroid? Some apps have trouble requesting it correctly with runtime permissions. Solution often is to check in Settings › Apps and granting the permission manually. As for ownership of the SD card: the group (which also has write access) is the clue here. Once an app has been granted the write permission, it gets added to that group. – Izzy Jan 8 '18 at 10:39
  • 1
    The permissions screen for the app asks for SD Card access and it's granted, still cannot make any edits while connected via ssh or scp. – user1610950 Jan 8 '18 at 12:14
  • That's strange. I remember a similar issue with another app – but I don't remember how it was solved in the end … So let's hope someone comes up with a lightbulb. – Izzy Jan 8 '18 at 20:06
  • I have the same problem now with SimpleSSHd – Avio Oct 19 '19 at 15:35
  • And the same with SSH Server by Banana Studio. What a wonderful world. – Avio Oct 19 '19 at 15:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.