OpenSSH Bug

Discussion in 'iPod touch Firmware 1.1.3 Discussions' started by I_am_Mad_like_This, Jan 31, 2008.

  1. I_am_Mad_like_This

    I_am_Mad_like_This New Member

    Joined:
    Nov 6, 2007
    Messages:
    762
    Likes Received:
    3
    So, when I use SSH, there is no problem. But when I stop using ssh, I turn it off, when I want to use it again, I turn it on, and crap, cyberduck fails to connect. So I use terminal to connect. But terminal fails too! so it has to be the openSSH application.

    This is from a 1.1.3 jailbroken iPod using the dev team method.

    I really want this fixed. the only way to solve this is by uninstalling and reinstalling, which I hate to do every time i connect my iPod via SSH
  2. johnInSJ

    johnInSJ Member

    Joined:
    Dec 15, 2007
    Messages:
    551
    Likes Received:
    9
    Device:
    iPhone 4 (Black)
    Whatever app you use to turn openssh off/on must be suid root - I use Services + the Services SUID patch, which app are you using to turn ssh off? You can make the app suid root with a simple chmod +s <app> command.
  3. rawb

    rawb Member

    Joined:
    Dec 26, 2007
    Messages:
    274
    Likes Received:
    8
    Device:
    iPod touch
    Use Bossprefs! I had the same problem with services... BossPref's turns it off, and turns it back on perfectly. No Fails to Connect

    Please Register or Log in to view images

  4. johnInSJ

    johnInSJ Member

    Joined:
    Dec 15, 2007
    Messages:
    551
    Likes Received:
    9
    Device:
    iPhone 4 (Black)
    Yep Bossprefs is suid root. Also works to correctly enable/disable ScreenShot app again.
  5. delight1

    delight1 New Member

    Joined:
    Dec 28, 2007
    Messages:
    29
    Likes Received:
    0
    in other words, this isn't an open ssh bug

    Please Register or Log in to view images

  6. mjhamilton

    mjhamilton New Member

    Joined:
    Oct 17, 2007
    Messages:
    74
    Likes Received:
    0
    Device:
    iPod touch
    for some reason apple have totally reworked the backend permission within the OS... I assume you are trying to get the standard icon tool to turn on and off the SSH applet...

    To fix...
    - ssh onto the ipod
    - cd /Application/SSH.app
    - chmod +s SSH

    et voila working tool.. you can toggle on and off with no problems

    I hate to use the 'sticky bit' in unix permissions but this works.. and seeing as the Touch is not a server it shouldn't cuase too many issues
  7. I_am_Mad_like_This

    I_am_Mad_like_This New Member

    Joined:
    Nov 6, 2007
    Messages:
    762
    Likes Received:
    3
    OK thanks guys, I knew i can count on you. it is fixed
  8. ipodtouch1234

    ipodtouch1234 Active Member

    Joined:
    Oct 21, 2007
    Messages:
    1,353
    Likes Received:
    0
    Device:
    iPad 2 (Black)
    reboot the ipod, then toggle ssh on, then off, then on. then it will work.
  9. bobbyclements

    bobbyclements New Member

    Joined:
    Feb 2, 2008
    Messages:
    1
    Likes Received:
    0
    fix

    when you install openssh, turn off services and then install openssh. it should work

Share This Page