+ Reply
Results 1 to 4 of 4
  1. #1
    iPhone? More like MyPhone
    Join Date
    Jul 2007
    Posts
    152
    Thanks
    8
    Thanked 1 Time in 1 Post

    Default After uploading login file to iphone, Terminal exits when trying to enter command

    Hey, I have a problem someone here could hopefully help me out with.

    After uploading the 'login' file to the iphone, Terminal/Putty exits when trying to enter command to the iphone.

    I set the permissions to 0755, still didn't work.

    When I remove the 'login' file, ssh works. But I need that file.

  2. #2
    iPhoned Home
    Join Date
    Jul 2007
    Location
    Internet
    Posts
    300
    Thanks
    1
    Thanked 54 Times in 36 Posts

    The newest term requires Login to be in /usr/bin not /bin. Try that.

  3. #3
    What's Jailbreak?
    Join Date
    Aug 2007
    Posts
    8
    Thanks
    0
    Thanked 2 Times in 1 Post
    Quote Originally Posted by crewxp View Post
    Hey, I have a problem someone here could hopefully help me out with.

    After uploading the 'login' file to the iphone, Terminal/Putty exits when trying to enter command to the iphone.

    I set the permissions to 0755, still didn't work.

    When I remove the 'login' file, ssh works. But I need that file.
    I had the same problem... It turned out that I saved the login file as login.txt and I had not chmodded it. So, check and make sure that it is just login, not login.txt. On a mac press command+i and you will see wiether or not it has the .txt extention... Now chmod +x it. Also, as the above poster said, place the file in /usr/bin, not /bin
    I don't use windows

  4. #4
    What's Jailbreak?
    Join Date
    Sep 2007
    Posts
    9
    Thanks
    0
    Thanked 1 Time in 1 Post
    I checked it, it was in /usr/bin and it was only LOGIN (not .txt)

    Still throwing me out from putty and terminal when I try to write the commands

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts