Back to My Mac, a feature of iCloud, allows you to connect your iPhone to your Mac over secure shell, or SSH, but unfortunately, there's no native solution to connect remotely to your Windows PC. To back up your text messages and address book to your computer using WinSCP, you must use Cydia on a jailbroken iPhone to install SSH to the device. You can then log in to the SSH client from your PC using your iPhone's IP address.

Step 1

Open Cydia from the Home screen and then touch "Sections" on the bottom bar.

Step 2

Touch "Networking" on the Install By Section screen and then choose "OpenSSH" from the list of packages.

Step 3

Press "Install" and then press "Confirm" to install OpenSSH to your iPhone. Touch "Return to Cydia" when setup completes, and then press the "Home" button.

Step 4

Open Settings from the Home screen, and then scroll to and select "Wi-Fi." Touch your wireless network and then write down your IP address.

Step 5

Download and install WinSCP to your computer. Open WinSCP, click "New" and then enter your IP address into the "Host Name" field.

Step 6

Enter "root" as the username and "alpine" as the password, and then click "Log In" to connect to your iPhone over SSH.

Step 7

Click "Update," if prompted, and then browse to "/private/var/mobile/Library/SMS" in the right pane. In the left pane, browse to the location on your computer where you want to store your messages.

Step 8

Drag-and-drop the files in the SMS folder into the left pane to copy the data to your computer.

Step 9

Browse to "/private/var/mobile/Library/AddressBook" in the right pane and then, in the left pane, browse to the location where you want to store your contacts.

Step 10

Drag-and-drop the contents of the AddressBook folder into the left pane to copy your data.