Results 1 to 5 of 5
Discuss bash instead of sh for ssh at the General - Hackint0sh.org; I followed all the steps here to get bash working on the iphone... all works ...
  1. #1
    Advanced Array

    Join Date
    Jul 2007
    Posts
    32
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default bash instead of sh for ssh

    I followed all the steps here to get bash working on the iphone... all works well until i try to execute it, at that point I get "/bin/bash: cannot execute". Anyone got any ideas what is going on here?

    Thanks



  2. #2
    Rookie Array

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

    Default

    Did you chmod bash to 555? I think it gives that message if the permissions are wrong...

  3. #3
    Newbie Array

    Join Date
    Jul 2007
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Where are the instructions to switch to bash? I was gonna do this, but cannot find the link again...

  4. #4
    Advanced Array

    Join Date
    Jul 2007
    Posts
    32
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by BenjaminD View Post
    Did you chmod bash to 555? I think it gives that message if the permissions are wrong...
    Yes I did chmod... I ended up restoring the iPhone and starting over from scratch, which fixed the issue. Must have been some strange glitch.

  5. #5
    Senior Professional Array

    Join Date
    Jul 2007
    Posts
    148
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    14

    Default

    The first time through, I forgot to add the shells file, which meant I couldn't log in using anything other than sh.


 

 

Similar Threads

  1. [BASH] [iOS] What i have to do to create some permanent aliases
    By ipth in forum iPhone Developer Exchange
    Replies: 2
    Last Post: 11-18-2011, 04:52 AM
  2. Passing Bash Script Command?
    By raziiq in forum iPhone Developer Exchange
    Replies: 1
    Last Post: 07-16-2009, 05:07 AM
  3. bash instead of sh
    By speci in forum General
    Replies: 3
    Last Post: 12-19-2007, 07:58 PM
  4. Reloading EDGE with bash
    By vat in forum General
    Replies: 0
    Last Post: 10-06-2007, 08:48 PM
  5. Mobile Terminal and bash autostart?
    By gamempire in forum Free Toolchain Software (Cydia App's)
    Replies: 6
    Last Post: 08-15-2007, 03:53 AM

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 01:14 PM.
twitter, follow us!