Limited Edition iPhone header image

Windows Guide To Using WinSCP With iPhone

November 26th, 2007 by Limited Edition iPhone · 262 Comments

iPhone Purple

If you need to edit or transfer files on the iPhone and you are using windows, WinSCP is the program you need.  Many people have asked me how to transfer files to the iPhone so I made an easy guide to follow bellow.  If you would like me to add anything or have questions please let me know.

First make sure you have ssh and bsd subsystem installed from installer. Next get WinSCP and find your iPhone’s ip by going to (on your iphone) settings > Wi-Fi > “Your selected WiFi” > Look under IP Address- Connect to your iPhone using WinSCP (user: root password: alpine) Change File Protocol to SCP

winscp2

Just press login after your screen on WinScp

click on the “..” until you see root, then click on the applications folder and put your downloaded .app program inside by dragging and dropping.

root

applications

To set file permissions(CHMOD) right click on the folder or file and select properties. Most of the time you will have to change the Octal to 0755. If you have any other questions please ask.

If you are having troubles with log in please read this: http://limitededitioniphone.com/guide-winscp-will-not-connect-network-error-connection-timed-out/

Tags: ··

262 Comments so far ↓

  • 201

    Harry

    I’m on 2.2 firmware jailbroken and have tried all techniques said here. I have bosspreffs and openssh and have entered the correct fields but still getting network error: connection timed out
    please help

  • 202

    [ RELEASE ] 3G iPhone Unlocked - Eat the yellowsn0w - Page 58

    [...] phone and check these settings. (/System/Library/LaunchDaemons/org.iphone-dev.yellowsn0w.plist) SSH Into your iPhone open terminal run this command:: /bin/launchctl unload -w [...]

  • 203

    iPhone Nutshell » How do I connect to my iPhone via WinSCP

    [...] Windows Guide to Using WinSCP with iPhone (for connecting) on limitededitioniphone.com; [...]

  • 204

    Mac

    How do I save the changes on my Iphone after deleting a source that was malicious.Please help.I used WinScp to delete the source.But cant seem to save the settings on the iphone

  • 205

    Calculator SHuts off. NEed Help

    [...] Check out this guide: Windows Guide To Using WinSCP With iPhone [...]

  • 206

    Rand

    I’m in the same boat as Harry. I’ve a Jailbroken 3G running 2.2, I have OpenSSH installed and REinstalled, I downloaded BossPrefs and made sure SSH was toggled to On, rebooted the device, and set my SCP page up exactly as was described. (The timer for the connection didn’t seem to change any when I changed the number of seconds and saved it, I don’t know why.) Regardless, every time it tells me the connection is always Timed Out. And I’m running the latest available SSH version from Cydia, 5.1p1-6. The only thing I could possibly think is wrong is that I don’t use wireless on my Desktop, I use a cable connection. If that’s not my problem, what else can I do? If that IS my problem, I’m going to be pissed, because I don’t see much other way of making this work unless I borrowed someone’s laptop and put SCP on it. It’s just not worth it to do that. Thanks for your time.

  • 207

    How to copy PDF from PC to iphone and read it locally ? - Page 2 - The iPhone Blog Forums

    [...] It will read most document file types including PDF. Once you have that you can either use SSH(Windows Guide To Using WinSCP With iPhone) to get into the phone filesystem with wifi to save a file somewhere or you can install [...]

  • 208

    sidthekid

    ok followed the instructions and everything worked fine the 1st time. I was able to winscp and transfer files.I even logged in as root and changed the pwd.Now when I attempt to winscp I get Server unexpectedly closed network connection. I am able to ping the iphone though.Why is it not allowing me to winscp now?

  • 209

    Guide: How to fix "different sim detected" on iphone after unlock/jailbreak - Apple iPhone forums iPhoneFans.com

    [...] to connect to iPhone SourceForge.net: WinSCP: Downloading … Guide on using WinSCP with iphone Windows Guide To Using WinSCP With iPhone 4. Follow the below steps: 4.1 Download patched lockdown file from here RapidShare: Easy [...]

  • 210

    How to install Apps not from Apple Store - QuickPWN Forums

    [...] WinSCP and here is the instructions on how to connect to your phone via wifi or just use the USB Windows Guide To Using WinSCP With iPhone I hope this info helps, Good [...]

  • 211

    myke

    hw can i see the ip? i don’t have any option to see the IP.

  • 212

    aqim

    hi der… i sucessfuly done..install the apps/game bt the problem is ders no apps/game on my iphone ? wats the prob ? im using firmware 2.2.1(2G)
    any advice ? help tx

  • 213

    sai

    i’ve created a wrong folder
    and now can’t delete it!!!!!!!!
    will it cause a problem??

  • 214

    hansen

    Plz some one help me
    i’m stuck
    i using iPhone os v2.1
    and openssh.
    how can i installed bsd subsystem?? i can’t find it in cydia.
    and when i try to connect my iPhone to my laptop
    winscp said “no route to host”

    please somebody help me

  • 215

    Randy

    How do I increase the partion drive for apps. Mine is getting full from all the Cydia stuff. I think it is so full it is slowing down the speed of the phone. Thanks in advance on anything you can shed on this. I have searched everywhere and found nothing on this topic. I am able to ssh into my phone.

  • 216

    Jamillah

    I kept getting both the timeout error and the connection refused error. I have used it before and it worked fine but it suddenly stopped. One issue I noticed is my phone ip changed while I was trying to connect so I had to change that in WinSCP. The other thing I did to solve the problem was (in Services) turn SSH off, turn it back on, then turn off my phone for a few minutes, then turn it back on. It finally worked.

  • 217

    Randy

    How do I increase the partion drive for apps. Mine is getting full from all the Cydia stuff. I think it is so full it is slowing down the speed of the phone. Thanks in advance on anything you can shed on this. I have searched everywhere and found nothing on this topic. I am able to ssh into my phone.

  • 218
  • 219

    Risto

    When i try to log in it comes with an error saying:
    “Network error: Connection timed out” I have iphone 3g
    plz help

  • 220

    Randy

    ****How do I increase the partion drive for apps. Mine is getting full from all the Cydia stuff. I think it is so full it is slowing down the speed of the phone. Thanks in advance on anything you can shed on this. I have searched everywhere and found nothing on this topic. I am able to ssh into my phone.*****

  • 221

    ibrahim

    Hello,
    I`m not able to connect to iphone.
    I started WinSCP & filled out the “WinSCP Login” form as follows:
    C:\My Programs\Ipod\WinSCP\WinSCP.exe
    Host name = 192.168.1.22
    Port number = 22
    User name = root
    Password = alpine
    Private key file =
    File protocol = SCP
    “Network error: Connection timed out.”
    My iphone and my pc already connected to the internet. Why I have this problem. How can I fix this. Is there any option to connect pc directly to phone?
    please can anybody help me
    thanks

  • 222

    ibrahim

    Hello,
    I`m not able to connect to iphone.
    I started WinSCP & filled out the “WinSCP Login” form as follows:
    C:\My Programs\Ipod\WinSCP\WinSCP.exe
    Host name = 192.168.1.22
    Port number = 22
    User name = root
    Password = alpine
    Private key file =
    File protocol = SCP
    “Network error: Connection timed out.”
    My iphone and my pc already connected to the internet. Why I have this problem. How can I fix this. Is there any option to connect pc directly to phone?
    please can anybody help me
    thanks

  • 223

    DarkLightxDLS

    I cannot connect to my iPod touch, every tme I enter my IP it taks me to my computers files

  • 224

    Guide: WinSCP Will Not Connect Network Error: Connection Timed Out

    [...] WinSCP Portable executable Look for the file “winscp418.ini” located in you WinSCP directory. Find [SshHostKeys]. Then look for the line that starts with rsa2@22:then has your current iPhone IP Address. Delete that line and save. Now try to log in again and accept the new key. You can follow the directions here: WINSCP GUIDE FOR IPHONE [...]

  • 225

    Fouad

    I went through half the posts and couldnt find an answer. then i googled it up and found a video that helps a LOT. here it is.
    http://www.youtube.com/watch?v=YhFUj3uxCVA
    works like a charm. if most of u are looking to install OpenSSH from the installer and cant find it, its because its on cydia now :) . just follow the video and bingo

  • 226

    Lysa

    THIS IS SOME HARD HACKING SHIT!

  • 227

    Josh

    THanks i got it wroking in less than 1 min its really easy i dont know why all of u are getting problems…oh well

  • 228

    Novice

    Hi! I just bought an unlocked and jailbroken iphone and I’m trying to download apps from appulo. I downloaded winscp for windows & ssh(on my pc). A friend said I had to dwnload ssh on my pc (not iPhone) and link it wit winscp somehow, IS This true? Also, I need serious help with using SSH and Winscp in general, I’m so lost with these softwares. How do I get an app from appulo to go to my iphone?
    I know this is kinda long but every help would be greatly appreciated

  • 229

    Hid

    Hello, Can you all help me, I want to downgrade my iphone modem baseband 2.30 to 2.28, I already insert basebandowngrader to my iphone applications via ssh , but the problem is I don’t know to use mobile terminal.. help me….

  • 230

    Alex

    I followed these instructions but it locked my phone. It got stuck with the Apple logo. However, I sorted it by changing the files back.

    Stupidly, I tried it again, but this time didn’t take a note of the 4 digit permission number for the Mobileinstallation file. This time iTunes is saying that it doesn’t recognise my sim!!

    Can someone tell me the correct 4 digit code or supply the original file that I can overwrite with?

    Cheers

    Alex

  • 231

    Razor cannot SSH

    PROBLEM!! Eversince I upgraded to 3.0 firmware I cannot SSH with WinSCP anymore? (I changed my password before the upgrade and jailbroke it again Coz i really cannot SSH with
    WinSCP) terminal App cant run too… I tried the 2 default passwords but its not working

    ANY HELP?

  • 232

    Mary

    For the “connection refused” problem check that you have installed OpenSSL AND OpenSSH. Don’t get confused like me!

  • 233

    Matt

    How do you change the root password in PuTTY using the iPod Touch?

  • 234

    Scott

    Sorry to shout, but I reckon this is the main cause of most people’s woes:

    TURN YOUR WINDOWS FIREWALL OFF.

    Soon as I did that, bingo – went straight in..

  • 235

    brikz

    Hi,,

    I am having problems with Cydia and need to re-load it, thus breaking my jailbreak and settings….How do i backup my entire phone (VAR folder) to my computer via WinScp, and then can i just add this file back to WinSCP and revive all my old settings, apps, programs, etc….?

    Thanks in advance.

    HOAG34@hotmail.com iphone 3g s in subject line

  • 236

    boy

    ITUNES 9 and winSCP. Ok for those of you who dont’ know already you can not winscp into ipod touch 3.0 with winscp and after installing iTunes 9. you must remove all instances of itunes, quicktime, updaters etc.. go back to itunes 8.2 and try again. I heard you can tether the connection and connect through the usb, but that just seems like too much work for me lol. Good luck, glad I was able to save someone a headache after I worked on this for two hours.

  • 237

    garg

    i don’t have wifi connection……then how????

  • 238

    RM

    can you please tell what should i type in the user name box, where i get it..
    thanks

    • 238.1

      Limited Edition iPhone

      User name should be admin

      • 238.1.1

        Oliver Kiss

        That’s some terrible or incomplete advice you’re giving! Did you know there are several different types of routers available and NOT all of them accept the same credentials?

        For Linksys:
        - username: admin
        - password: leave it empty

        D-Link:
        - username: leave it empty
        - password: admin

        For other types of routers, google what the default username/password is.

  • 239

    Iphone Developers

    Great info. I was really want to know this

  • 240

    mutahir

    i dont have wifi. i use cable internet plz tell me what to do.

  • 241

    mic

    For all the people who get a time out error go to the thing in winscp called connection and change the server response timeout error to 50secs

  • 242

    Jeff

    everyone who got time out error connect your ipod with usb cable to your computer

  • 243

    dallas

    what you want to do if you get that error is go into cydia and click on search. then type in SBSettings. install this. after it is done installing, click on the home button and slide your finger at the top of the screen where the clock is. The SBSettings should now be shown. click on themore button and then on the toggle button. here you will find ssh. turn this on and go back to the main menu of the SBSettings. turn ssh on and try going into WinSCP again. if you’ve done it right, this should work. GL.

  • 244

    dallas

    also you have to download openssh from cydia. sorry about that =-P

  • 245

    sam

    Do I need to have wifi on both the PC and My Itouch??

  • 246

    Kegan

    Hello, I Have Fire ware 3.1.2 and it connects all up untill the password part, It Says “Authenticating with pre-wentered password. Than i get access denied” Why Is This I Have Check My Original Password Many Times But Nothing Help ;(

  • 247

    P.H

    I have the same problem as “Kegan”! i just wont connect with any password or username im using!:S anyone can help me?

  • 248

    Yousef Ahmad

    Hello peoples, I forgot what the code is to change the strings into readable language. What do you put into terminal so that you can read the springs text

  • 249

    cancuk_downunder05

    i’m connected and set up. Thanks for the help with that.

    I need to delete games that I can not access through Catagories. I can not edit the present Games Folder for whatever reasons, so I am not able to edit the current apps within that folder. Any suggestions now on how to delete some of those apps?

  • 250

    Andrew

    Hi i lost my rsa key for winscp and now i can’t ssh into my phone cause i can’t provide the rsa key. Is there anyway i can reset the key?

Leave a Comment