connectbot icon indicating copy to clipboard operation
connectbot copied to clipboard

Local shell & SSH: Storage access and possible implementations & alternatives.

Open xplshn opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? Please describe.

Can't access local storage when using local shell, can't use PWD, LS or related commands

Describe the solution you'd like

An option to enable access of all directories to a shell, which would allow for use with Shizuku(Local ADB SHELL) or SFTP.

Describe alternatives you've considered

An option to add visible directories to a shell, so it only sees a folder you selected as its [/] , also I think you could make ConnectBot create a org.connectbot directory at Android/Data/org.connectbot/ so the app can access it without additional permissions.

xplshn avatar May 10 '23 21:05 xplshn

I have the same problem. Did you find a solution @xplshn?

epagone avatar Jan 16 '24 18:01 epagone

Yes, using a local ssh server on Magisk

xplshn avatar Jan 17 '24 02:01 xplshn

Thanks!

epagone avatar Jan 17 '24 14:01 epagone

When I use local connection I also cant do cd or ls ... And i have no idea how to ser a directory that i can access as my HOME ... (What should be HOME?)

I get error that HOME is not set

:/ $ ls
ls: .: Permission denied
1|:/ $ pwd
/
:/ $ cd
/system/bin/sh: cd: no home directory (HOME not set)
2|:/ $

jpduyx avatar Apr 06 '24 23:04 jpduyx

When I use local connection I also cant do cd or ls ... And i have no idea how to ser a directory that i can access as my HOME ... (What should be HOME?)

I get error that HOME is not set

:/ $ ls
ls: .: Permission denied
1|:/ $ pwd
/
:/ $ cd
/system/bin/sh: cd: no home directory (HOME not set)
2|:/ $

Best solution would be using a local ssh server for now.

xplshn avatar Apr 07 '24 01:04 xplshn