When you initially log-in you're prompted with an sqlite shell, you do an initial select on the farm table and realize the sheep runs away and one of the quests are to move the sheep next to the pig.
There's no simple way to do a clear write-up on this text-only, but essentially you're able to write a script which connects to the SSH and moves the pig to the sheep, picks up the water pail, plants a seed, waters the seed, waits a day, and also picks the plant up... The issue here being that you're limited to 5 moves so you have to be clever about how you do it.
My personal approach was to brute-force the initial seed plant and get the pigs and sheep's position at the same time I plant the seed this way I could perform all of the actions required by the game within 5 moves, there were other ways to accomplish this that were discussed within the IRC due to the game having bugs as well as some integer fun.
The original write-up contains a more detailed explanation as well as the proof of concept code.