Skip to content

Instantly share code, notes, and snippets.

@lukestanley
Last active March 27, 2023 20:29
Show Gist options
  • Save lukestanley/d0daa98c86168971476f7d78ee840beb to your computer and use it in GitHub Desktop.
Save lukestanley/d0daa98c86168971476f7d78ee840beb to your computer and use it in GitHub Desktop.
Access Android's files remotely with SSH server on Termux, and magic-wormhole for key exchange
# With Termux installed, something like this should work
# to type less, you might be able to copy and paste this,
# or use Curl / wget
# First enable file access permission:
termux-setup-storage # accept file access as prompted
pkg install clang cmake python openssh libsodium
SODIUM_INSTALL=system pip install pynacl # skip building bundled version
pip install magic-wormhole
sshd
wormhole ssh invite # follow directions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment