I have not noticed any battery drain *having sshd idle* all the time, as it used to run all the time for a while until I found Tapp and wrote those scripts. If you use ps and top to evaluate cpu usage, you'll see that idle processes use less than 1% of the cpu, and that's what causes power drain, when things use the cpu.
What DOES drain the battery is having the backlight on all the time, it drains it BIG TIME, and that happens if you either turn AutoLock off or keep tapping the screen to keep it from locking.
I really wish there was a way so that only wi-fi stayed on all the time. coz it would be way more battery efficient, but oh well.
the command you want to use is:
Quote:
|
launchctl unload -w /Library/LaunchDaemons/com.openssh.sshd.plist
|
stop SHOULD stop the service, but it doesn't seem to work very well. I've noticed also if you try to start the server (with launchctl start) after doing unload -w, it tends to say it doesn't exist. weird. (note: load -w works ....)
Please note if you're trying to stop sshd via launchctl and you're currently ssh'd into your iPhone it _will_ not work.
However, when you reboot your phone ssh will not be started. The alternative is to type it from one of the terminals available on Installer.app
also that location of the plist file is for the OpenSSH available on Installer.app .. i dunno about the other SSH available on iBrickr.