Last active
August 29, 2015 14:02
-
-
Save ccjeng/9378b607d55c45f21627 to your computer and use it in GitHub Desktop.
sshfs mount
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://manpages.ubuntu.com/manpages/karmic/en/man1/sshfs.1.html