Skip to content

Instantly share code, notes, and snippets.

@ccjeng
Last active August 29, 2015 14:02
Show Gist options
  • Save ccjeng/9378b607d55c45f21627 to your computer and use it in GitHub Desktop.
Save ccjeng/9378b607d55c45f21627 to your computer and use it in GitHub Desktop.
sshfs mount
#mount
sshfs root@nexus5:/sdcard/ sdcard -p2222
#unmount
fusermount -u sdcard
# adb port forwarding
# This will redirect the local tcp port 22 to the port 2222 on the phone, on which the SSH server will be running now, served by QuickSSHd.
adb forward tcp:2222 tcp:22
@ccjeng
Copy link
Author

ccjeng commented Jun 23, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment