diff options
Diffstat (limited to 'stuff/README')
| -rw-r--r-- | stuff/README | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/stuff/README b/stuff/README new file mode 100644 index 0000000..8c5c423 --- /dev/null +++ b/stuff/README | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | com.openssh.sft.plist is a launchd configuration to set up a bare SFTP server | ||
| 2 | on TCP port 2299 localhost-only for USB use. It's nice for relatively fast music | ||
| 3 | syncing and file transfer under Linux (and it avoids encryption). Con: it gives | ||
| 4 | anyone with usb access root FS access on the phone, as well as anything running | ||
| 5 | on the phone itself. | ||
| 6 | |||
| 7 | Use it with a command like this: | ||
| 8 | |||
| 9 | IPATH=/var/mobile/Media | ||
| 10 | MOUNTPOINT=$HOME/media/iphone | ||
| 11 | $ sshfs localhost:$IPATH $MOUNTPOINT -o workaround=rename -o directport=2299 \ | ||
| 12 | -o kernel_cache -o entry_timeout=30 -o attr_timeout=30 | ||
| 13 | |||
| 14 | Make sure you run tcprelay.py: | ||
| 15 | $ python tcprelay.py -t 2299 | ||
| 16 | |||
| 17 | Remember that to bypass the stupid new iTunesDB hash you need to edit | ||
| 18 | /System/Library/Lockdown/Checkpoint.xml and change DBVersion to 2. | ||
| 19 | |||
