SSH Problem

Discussion in 'iPhone, iPod & iPad' started by BloodyFlame, Dec 23, 2010.

  1. BloodyFlame
    OP

    BloodyFlame GBAtemp Fan

    Member
    361
    9
    Aug 6, 2010
    United States
    California
    So I'm trying to access my iPod Touch through SSH using WinSCP. Whenever I try, it gives me the error, "Server unexpectedly closed network connection," and then gives me a dialog box asking me to either close the window, reconnect, or look for help on the WinSCP website(which I have.) This problem started occurring a few days after installing a Cisco N router. When the router was first installed, WinSCP was working fine.

    Info.
    4th Generation.
    Running iOS 4.1.
    Connected to the internet.
    SSH IS enabled.
    Autolock is to "Never."
    Both my iTouch and desktop are connected to the same network.
    afc2add is installed via Cydia.
    OpenSSH is installed.

    WinSCP Log
    Warning: Spoilers inside!
    Any help will be appreciated.
     
  2. Dter ic

    Dter ic ~

    Member
    1,757
    45
    Feb 19, 2009
    is there a firewall blocking the connection?
     
  3. BloodyFlame
    OP

    BloodyFlame GBAtemp Fan

    Member
    361
    9
    Aug 6, 2010
    United States
    California
    I've tried turning off my firewall before. It still did not work.
     
  4. Dter ic

    Dter ic ~

    Member
    1,757
    45
    Feb 19, 2009
    the routers one aswell
     
  5. BloodyFlame
    OP

    BloodyFlame GBAtemp Fan

    Member
    361
    9
    Aug 6, 2010
    United States
    California
    According to my dad, the router does not have a firewall.
     
  6. Dter ic

    Dter ic ~

    Member
    1,757
    45
    Feb 19, 2009
    are you sure about that? try going into the routers settings yourself and post a screenshot of the page
    (even better give me the exact name of the router if you can) [​IMG]
     
  7. BloodyFlame
    OP

    BloodyFlame GBAtemp Fan

    Member
    361
    9
    Aug 6, 2010
    United States
    California
    The router is a Linksys WRT310N.
     
  8. pikachu945

    pikachu945 GBAtemp Advanced Fan

    Member
    683
    0
    Sep 13, 2009
    Canada
  9. BloodyFlame
    OP

    BloodyFlame GBAtemp Fan

    Member
    361
    9
    Aug 6, 2010
    United States
    California
    I'd would rather do it wirelessly. Also, I want to be able to change permissions.
     
  10. DanTheManMS

    DanTheManMS aka Ricochet Otter

    Member
    4,329
    105
    Jun 2, 2007
    United States
    Georgia
    iFile can change permissions directly on the device, as a last-resort workaround if you can't fix the SSH bug.

    Tried running the new router in wifi-G only mode? Dunno if disabling N will help but the iPhone can't use it so it's worth a shot.
     
  11. BloodyFlame
    OP

    BloodyFlame GBAtemp Fan

    Member
    361
    9
    Aug 6, 2010
    United States
    California
    I'm having problems with iFile, also. It can't change permissions on my device so I ended up using Mobile Terminal for that. I was almost sure that my iTouch can use N Wi-Fi.
     
  12. neokingster

    neokingster Advanced Member

    Newcomer
    81
    0
    Mar 14, 2009
    So is there any way to back up stuff of cydia, like rock used to?
     
  13. Dter ic

    Dter ic ~

    Member
    1,757
    45
    Feb 19, 2009
    try iphone browser instead. it does it off usb and i don't get why you shouldn't try
     
  14. BloodyFlame
    OP

    BloodyFlame GBAtemp Fan

    Member
    361
    9
    Aug 6, 2010
    United States
    California
    I've tried that before. the problem is that you can't change permissions like WinSCP can.
     
  15. Dter ic

    Dter ic ~

    Member
    1,757
    45
    Feb 19, 2009
    OOO i HAZ FOUND A FIX 4 YOUR PROBLEMZ

    use ispirit