Page 1 of 3 123 LastLast
Results 1 to 10 of 25
Discuss OpenSSH fix - Read this if you can't use SSH on your jb 3.0! at the iOS 3.x (iPhone OS 3.x) - Hackint0sh.org; IMPORTANT Icy contains now an updated version of OpenSSH, which should finally work with 3.0 ...
  1. #1
    Senior Professional Array

    Join Date
    Sep 2007
    Posts
    123
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default OpenSSH fix - Read this if you can't use SSH on your jb 3.0!

    IMPORTANT
    Icy contains now an updated version of OpenSSH, which should finally work with 3.0 without issues. This post is now longer necessary.


    For historic purposes, the content of the post is below.
    From http://www.hackint0sh.org/forum/f201...htm#post402156

    If you jailbreak your 3.0 beta2 iPhone, you can install OpenSSH, but it will work only for SCP (or SFTP: FTP over SSH). This means that you can put/get files, but you can't use the terminal.
    Seems like the problem with the terminal is because of missing libraries: in fact, the BSD subsystem is not installed by that unofficial jailbreak.

    So, here it is my solution.

    Download this file: Download package from Sendspace

    Extract it. It is the whole bundle that is installed when you pwn your 2.x phone. What we need in it is the BSD Subsystem: in particular, some libraries not installed by the new jailbreak.
    (for those wondering where it came from... It's just a package extracted from PwnageTool)

    Just copy all the files inside the usr/lib folder into your phone (using SFTP, for example Cyberduck or Filezilla) in /usr/lib

    That package contains everything; however, you might need just libraries (install other binaries only if you need them - and if you know what you are doing!).

    That should be enough to use OpenSSH!

    PS: this method has been tested by a couple of users and they both reported it worked. however, I can't guarantee it's perfect, and I ASSUME NO RESPONSIBILITY at all. as always, use at your own risk.

    EDIT
    Some users reported crash when copying all libraries. Maybe this is not 100% safe...
    My suggestion is to copy JUST needed libraries, and never overwrite existing files.
    Make sure you know what you are doing before copying any file!!!
    Last edited by myselft; 04-07-2009 at 11:42 AM.
    Backup your SMS! Try YouArchive.It now! http://www.hackint0sh.org/forum/showthread.php?t=45985



  2. #2
    Senior Professional Array

    Join Date
    Mar 2007
    Posts
    147
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Do you want us to replace existing files or not?

    Btw in that archive you posted there is no /usr/lib/libSystem.B.dylib so I don't see how this is going to fix the problem.

  3. #3
    Senior Professional Array

    Join Date
    Sep 2007
    Posts
    123
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    Quote Originally Posted by zebrum View Post
    Do you want us to replace existing files or not?

    Btw in that archive you posted there is no /usr/lib/libSystem.B.dylib so I don't see how this is going to fix the problem.
    in response to: http://www.hackint0sh.org/forum/f201...htm#post402465

    uhm... the error the other user reported was different. That library should be already bundled with the firmware: I can find it in the SDK inside my Mac, so... Try copying that from the SDK (sorry, I can't give you mine: the package above was free software, but this library is under NDA)

  4. #4
    ac!
    ac! is offline
    Senior Professional Array

    Join Date
    Mar 2009
    Posts
    121
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    16

    Default

    the libSystem.B.dylib is already on the filesystem. its missing symbols because of a different version being expected. just use "ssh root@iphone bash" to connect to the phone. you will get a shell with no prompt. should be no problem. if it is a problem you should not be connecting to the phone via ssh anyways :-))

  5. #5
    Advanced Array

    Join Date
    Oct 2008
    Posts
    44
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Is Openssh supposed to be working using WinSCP? I'm able to log on to the phone but I get errors after that and nothing shows up in the browser


  6. #6
    Newbie Array

    Join Date
    Mar 2009
    Posts
    5
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Did this, iPhone crashed and died. Restoring now.

  7. #7
    Senior Professional Array

    Join Date
    Sep 2007
    Posts
    123
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    did you put just libraries as I wrote or all the files???

  8. #8
    Senior Professional Array

    Join Date
    Apr 2007
    Posts
    191
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    17

    Default

    I tried copying the contents of the /usr/lib directory that you provided to my iPhone and experienced the exact same thing as Hedgehog.

    My phone crashed within 10 seconds of the completion of the upload, after which point it remained at the Apple Boot Logo.

    I left the phone at the boot logo over night to see if it would ever manage to recover on it's own only to find myself greeted with a scorching hot iPhone hung at boot!

    I have since restored and am again jailbroken, ready for another test.

    ~Adrian

  9. #9
    Senior Professional Array

    Join Date
    Sep 2007
    Posts
    123
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    so maybe not all libraries have to be put...

    well, let's say this is just for expert users at the moment at least, until they upgrade the official bsd subsystem.

  10. #10
    ac!
    ac! is offline
    Senior Professional Array

    Join Date
    Mar 2009
    Posts
    121
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    16

    Default

    how about copying only missing libraries, nothing can go wrong there. sounds rite?


 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. openssh on 4.0
    By inkee in forum iOS 4.x (iPhone OS 4.x)
    Replies: 7
    Last Post: 07-13-2010, 10:26 PM
  2. [OpenSSH Question] does Openssh consume more battery life
    By bob616 in forum Free Toolchain Software (Cydia App's)
    Replies: 19
    Last Post: 05-12-2008, 12:08 AM
  3. [OpenSSH] Where did it go?
    By virus67 in forum Free Toolchain Software (Cydia App's)
    Replies: 7
    Last Post: 01-31-2008, 11:04 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 12:36 PM.
twitter, follow us!