I am using SimpleSSHD and doing scp
to transfer files from my computer to my Redmi phone.
My question is that after I have copied files to data/user/0/org.galexander.sshd/files
, how do I access them, such as with a File Manager?
I am using SimpleSSHD and doing scp
to transfer files from my computer to my Redmi phone.
My question is that after I have copied files to data/user/0/org.galexander.sshd/files
, how do I access them, such as with a File Manager?
Don't ever copy files out of /sdcard/
, for this task you should leave the files where they are. In order to copy files using SimpleSSHD, simply connect and copy: assuming you've left the default port of 2222
you can do this,
host=192.168.1.228
scp -r "scp://root@${
host
}
:2222//sdcard/DCIM/OpenCamera" .
host=192.168.1.228
rsync --progress -ave 'ssh -p 2222' "root@${
host
}
:/sdcard/DCIM/OpenCamera" .
Q & A