Step 1
Go to Cydia from your Springboard
Step 2
Go to Sections tab at the bottom of the screen.
Step 3
Under the Sections list, choose Networking.
Step 4
locate and Select OpenSSH from the list.
Step 5
Hit the Install button at the top right of the screen.
Step 6
Then hit the Confirm button
Step 7
After the installation is completed successfully, Press the big Return to Cydia button.
WARNING:
Now that you’ve installed OpenSSH now you’re vulnerable to external intruders with the default root password for SSH. Attacks on jailbroken iPhone with SSH installed with default password are increasing. So, we strongly recommend you to change your default root password used to SSH into iPhone before proceeding further. Follow the link below to change your SSH root password to Protect your iPhone/iPod Touch from intruders:
Change Root Password to Secure Your iPhone
Step 8
Now go back to Springboard by pressing the Home button.
Step 9
Now you need to obtain the IP Address of your iPhone or iPod Touch.
To obtain the IP address go to Settings.
Step 10
Under the Settings Menu, go to Wi-Fi.
Step 11
Make sure you’re connected to a wireless network. Press the Blue circled arrow button.
Step 12
There you will find your IP address. Please note that IP address.
Step 13
Make sure your PC is on the same wireless network that of your iPhone.
Once you have downloaded, launch the WinSCP
Step 14
Once WinSCP is opened, enter the following detailes:
Host Name: IP Address of your iPhone/iPod
Username: root
Password: alpine
Now hit the Login button.
ATTENTION: On an iPhone 3GS, you will need to change the File Protocol to SCP. The default is most likely SFTP. Just select the arrow next to the option and select SCP.
Step 15
WinSCP will start connecting to your iPhone.
Step 16
If a Warning dialogue box appears, click Yes
Step 17
Finally, after a few second you’ll be logged into your iPhone using WinSCP.
Step 18
You can access all your iPhone folder from the right navigation pane. or use the drop down menu on the right side.
Step 19
If you want to transfer a file from your PC to your iPhone, simply locate the file you want to copy from your PC using the left pane. Then navigate to the desired location on you iPhone using the right pane. Now to copy the file to your iPhone, just drag it from the left pane to the right pane.
Note: As user dlr stated, it is a good idea to set auto-lock to never. You can do this by going to Settings > General > Auto-Lock and set to never.



















