I previously posted a hint about using AppleScript UI Scripting to allow LittleSnitch while logged in via SSH; this is a follow up on the story.
I decided it was not enough and came up with a php shell script to manage the LittleSnitch daemon via the terminal. This is how SnitchCTL was born. It allows to start, stop and restart the daemon as well as use the UI Script to allow or deny a connection. The script is available here. I have also set up a page for the script, updates will be posted there and some more information on LittleSnitch is available. The source is also available from the site.
Disclaimer :
This script has been tested with Mac OS 10.4.2 and LittleSnitch builds 212 (1.2b3), 218 (1.2b5), and 226 (1.2). Tests have shown that running this script under 10.3.9 is bad idea! Running this script poses a potential security risk! This script is provided "as is;" I am not responsible of any damages that could occur from using it. If you use it, you assume what you do it with and what ever happens to you!
To install the script move it to /usr/bin or /usr/local/bin. You might also have to chmod +x the file. Although you might not want to run this script if you didn't know that! This script turns LittleSnitchDaemon.app (located in /Library -> PreferencePanes -> Little Snitch.prefPane -> Contents -> Resources) on and off. That's the LittleSnitch daemon. If the LittleSnitch kernel extension isn't loaded it will attempt to load it when you start the daemon.
[robg adds: I haven't tested this one...]
Mac OS X Hints
http://hints.macworld.com/article.php?story=20051001212614184