Annoying issue with SSH

Discussion in 'Jailbreaks and iOS Hacks' started by jimmy83, Oct 16, 2010.

  1. jimmy83 macrumors 65816

    Joined:
    Aug 21, 2008
    Location:
    Portsmouth, UK
    #1
    I cant always connect via SSH using WinSCP running win7, anyone know why? Tried disabling av ect. :confused:
     
  2. thelatinist macrumors 603

    thelatinist

    Joined:
    Aug 15, 2009
    Location:
    Connecticut, USA
    #2
    You're really going to need to give more information. Are you getting an error message, for instance?
     
  3. Benji222 macrumors 65816

    Benji222

    Joined:
    Dec 21, 2009
    Location:
    So Cal
    #3
    Try logging in when your home screen is on as opposed to the phone being locked.
     
  4. jimmy83 thread starter macrumors 65816

    Joined:
    Aug 21, 2008
    Location:
    Portsmouth, UK
    #4
    Yeah sorry I should have said, its just a timeout error.

    Yup I always do this, and normally keep screen unlocked the whole time.
     
  5. tempusfugit macrumors 65816

    Joined:
    May 21, 2009
    Location:
    Chicago
    #5
    Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7)

    Are you choosing sftp every time?
     
  6. jimmy83 thread starter macrumors 65816

    Joined:
    Aug 21, 2008
    Location:
    Portsmouth, UK
    #6
    Yup, got the session saved aswell
     
  7. LaZyFLiP macrumors regular

    Joined:
    Jan 20, 2009
    #7
    I've always used the the SCP Protocol. I don't think I've ever got it to work using SFTP?
     
  8. jimmy83 thread starter macrumors 65816

    Joined:
    Aug 21, 2008
    Location:
    Portsmouth, UK
    #8
    Yup tried that aswell and SCP doesnt work either :(
     
  9. ivan300 macrumors member

    Joined:
    Aug 16, 2010
    #9
    Make sure you have afc2add

    Download ifunbox.

    It will let you transfer files much faster than ssh
     
  10. maturola macrumors 68040

    maturola

    Joined:
    Oct 29, 2007
    Location:
    Atlanta, GA
    #10
    OP didn't say anything about "transferring file" maybe he want to run some Shelf Commands?

    Anyway, check that SSH (OpenSSH) is up an running on the Phone, if you have the SBseeting toggle, toggle it off them on, and also try using mobile terminal (if you have it)
     
  11. jimmy83 thread starter macrumors 65816

    Joined:
    Aug 21, 2008
    Location:
    Portsmouth, UK
    #11
    Yup I use the sbsetting toggle to enable/disable SSH. Its real strange sometimes it will connect but normally wont :(
     
  12. jimmy83 thread starter macrumors 65816

    Joined:
    Aug 21, 2008
    Location:
    Portsmouth, UK
    #12
    Still getting issues with winscp :mad: found a temp fix that normally works http://winscp.net/forum/viewtopic.php?t=1960 when you login open appstore and it usually connects.

    But as I said it still doesnt work everytime. Does anyone have else have issues?
     
  13. jimmy83 thread starter macrumors 65816

    Joined:
    Aug 21, 2008
    Location:
    Portsmouth, UK
    #13
    Can anyone help? Or suggest another way to SSH into my iPhone 4?
     
  14. THE dAY macrumors 6502

    Joined:
    Jul 22, 2010
    Location:
    SFV California
    #14
    I had a similar issue with SSH and timing out. Turns out the problem was my router. Unplugging it and replugging it back in after a minute fixed the issue.
     
  15. jimmy83 thread starter macrumors 65816

    Joined:
    Aug 21, 2008
    Location:
    Portsmouth, UK
    #15
    Thanks for your advice, tried that and yes it worked once. But I dont really wont to have to keep on having to reboot my router just to connect via SSH to my iP4 :(

    Once I connect, if I dont open files in winscp for like 30seconds or so it seems to disconnect itself-not sure why it does that either :(
     

Share This Page