- Download the 1.1.1 and 1.1.2 firmware images for your iPod Touch/iPhone
- Open iTunes, go to your iPod's tab, and shift-click (option-click) "Restore", and select the 1.1.1 firmware image you downloaded earlier
- Go to JailBreakMe.com in Safari on the iPod, and click the install link at the bottom
- You now have an "Installer" application - run it, then click "Install" at the bottom; click "Tweaks (1.1.1)", then "OktoPrep", and click yes when it asks you if you want to install it
- Open iTunes, go to your iPod's tab, and shift-click "Update" (*NOT* "Restore"), and select the 1.1.2 firmware
- Download and run the touchfree jailbreak 1.1.2 software - tick "Enable SSH Server", change the password, and press the magic button
- Wait a long time for it to finish, and for your iPod to reboot a few times
- Click "Install", then "System", and "BSD Subsystem", and say yes when it asks if you're sure
- ssh to root@your.ipod.ip.address, and edit /etc/sshd_config (nano, vi, vim are available), enabling rsa public key authentication
- Make a passwordless rsa ssh key
- ssh-copy-id it to your root@your.ipod.ip.address
- restart sshd on it (from the "SSH" icon in the iPod's launcher)
- Install fuse, sshfs-fuse, and a recent build of libgpod onto the linux machine you want to sync it with sudo mkdir /mnt/ipod; sudo chmod 755 /mnt/ipod
- Mount the iPod's media area with "sshfs root@your.ipod.ip.address:/var/root/Media /mnt/ipod"
- cd to /mnt/ipod
- ln -s iTunes_Control iPod_Control
- cd iPod_Control/Device
- sudo lsusb -v -d 05ac: | grep iSerial | awk '{print $3}' | cut -b1-16 | xargs printf "FirewireGuid: 0x%sn" > SysInfo
- Leave /mnt/ipod
- fusermount -u /mnt/ipod
- Open Amarok, and open the page for configuring media devices (Settings->Configure->Media Devices)
- Add a new iPod device, at /mnt/ipod (or /media/ipod, depending on your distribution)
- Click the two cog wheels by your iPod in Amarok's list of Media Devices
- In the "Pre-connect command" box, type "sshfs -o workaround=rename root@ipod.ip.addres.here:/var/root/Media /mnt/ipod" ("workaround=rename" fixes issues with album art).
- In the "Post-connect command" box, type "fusermount -u /mnt/ipod"
If you're a user of a 64-bit distribution, you'll need a small patch for libgpod.
This post has been flicked Verbatim from Here.