Fonera + Arduino

Hey guys, how can i make a ssh or telnet client that can send to la fonera a script to comunicate with arduino (Like echo 'A' > /dev/tts/0) but without typing every single time the entire line? I'm searching for something more visual and fast to operate like in this video. Which language is better? C php processing? Can you help me making it?