Results 1 to 7 of 7
Discuss Disabling Dropbear SSH on 1.1.1. at the General - Hackint0sh.org; Someone asked about this so I thought I would share.. To disable / enable the ...
  1. #1
    Advanced Array

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

    Default Disabling Dropbear SSH on 1.1.1.

    Someone asked about this so I thought I would share..

    To disable / enable the dropbear SSH server manually, all you need to do is add the following to /System/Library/LaunchDaemons/au.asn.ucc.matt.dropbear.plist under the <dict></dict>

    <key>Disabled</key>
    <true/>

    It would look like this:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    	<key>Disabled</key>
    	<true/>
            <key>Label</key>
            <string>au.asn.ucc.matt.dropbear</string>
            <key>OnDemand</key>
            <false/>
            <key>ProgramArguments</key>
            <array>
                    <string>/usr/bin/dropbear</string>
                    <string>-F</string>
            </array>
    </dict>
    </plist>
    To re-enable it, just take it out.

    As far as I know, this would require a reboot of the phone? I reckon you can reload it somehow thru the shell but I'm not sure how to do that.. yet.

    EDIT: Probably to make it take effect, is to just kill the dropbear process when you want to disable it, to re-enable it..... well I don't know.. =p
    Last edited by Ra'jel; 10-12-2007 at 11:30 AM.



  2. #2
    Professional Array

    Join Date
    Sep 2007
    Posts
    66
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    just use the service.app, much easier

  3. #3
    Advanced Array

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

    Default

    Yeah it is though someone asked me how to do it without Services.app... lol.

  4. #4
    Rookie Array

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

    Default

    Services.app doesn't wprk in its current version in 1.1.1. It starts but then freezes and returns to home screen after abou 20 seconds.

  5. #5
    Developer Array Saimen's Avatar

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

    Default

    Quote Originally Posted by sunstar View Post
    Services.app doesn't wprk in its current version in 1.1.1. It starts but then freezes and returns to home screen after abou 20 seconds.
    For me it works on 1.1.1


  6. #6
    Rookie Array

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

    Default

    Yes, you are right. I probably forgot to set the correct permissions.

  7. #7
    Senior Professional Array

    Join Date
    Aug 2007
    Location
    Ljubljana, SI
    Posts
    228
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    20

    Default

    Well, I am using ULCTL and it works just fine.

 

 

Similar Threads

  1. What's up with all the dropbear installations?
    By kikker in forum iPhone "2G" (Rev. 1)
    Replies: 4
    Last Post: 11-13-2007, 09:13 AM
  2. uninstall dropbear
    By hawaiipoolman in forum General
    Replies: 8
    Last Post: 10-25-2007, 08:11 PM
  3. Dropbear crashes with PUTTY, WINSCP works
    By todro in forum General
    Replies: 0
    Last Post: 09-28-2007, 02:42 PM
  4. iPhone 1.0.1 & dropbear
    By elbarlo in forum General
    Replies: 0
    Last Post: 08-02-2007, 09:57 PM
  5. Dropbear Key's for the SSH kit
    By phattie in forum General
    Replies: 0
    Last Post: 07-23-2007, 08:51 PM

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:47 AM.
twitter, follow us!