From f7ba8a0d5ad2d1d0230bfc63bc1dc9b2358674b6 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 2 Oct 2014 23:09:40 +0200 Subject: Remove obsolete files from "stuff", afc can be used easily instead --- stuff/README | 25 ------------------------- stuff/com.openssh.sftp.plist | 41 ----------------------------------------- 2 files changed, 66 deletions(-) delete mode 100644 stuff/README delete mode 100644 stuff/com.openssh.sftp.plist (limited to 'stuff') diff --git a/stuff/README b/stuff/README deleted file mode 100644 index 290285d..0000000 --- a/stuff/README +++ /dev/null @@ -1,25 +0,0 @@ -*** NOTE: -*** Doing this is mostly obsolete. The preferred method to sync music to an -*** iPhone now is to use ifuse or some other afc-based client, which does not -*** require jailbreaking or adding this service. Please take a look at the -*** libiphone, ifuse, and libgpod projects. - -com.openssh.sft.plist is a launchd configuration to set up a bare SFTP server -on TCP port 2299 localhost-only for USB use. It's nice for relatively fast music -syncing and file transfer under Linux (and it avoids encryption). Con: it gives -anyone with usb access root FS access on the phone, as well as anything running -on the phone itself. - -Use it with a command like this: - -IPATH=/var/mobile/Media -MOUNTPOINT=$HOME/media/iphone -$ sshfs localhost:$IPATH $MOUNTPOINT -o workaround=rename -o directport=2299 \ - -o kernel_cache -o entry_timeout=30 -o attr_timeout=30 - -Make sure you run tcprelay.py: -$ python tcprelay.py -t 2299 - -Remember that to bypass the stupid new iTunesDB hash you need to edit -/System/Library/Lockdown/Checkpoint.xml and change DBVersion to 2. - diff --git a/stuff/com.openssh.sftp.plist b/stuff/com.openssh.sftp.plist deleted file mode 100644 index 569fabc..0000000 --- a/stuff/com.openssh.sftp.plist +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - Label - com.openssh.sftpd - - Program - /usr/libexec/sftp-server - - ProgramArguments - - /usr/libexec/sftp-server - - - SessionCreate - - - Sockets - - Listeners - - SockServiceName - 2299 - SockNodeName - 127.0.0.1 - - - - StandardErrorPath - /dev/null - - inetdCompatibility - - Wait - - - - - -- cgit v1.1-32-gdbae