Maybe if your server has it installed or you are able to get it installed you could use the Secure Shell2 functions?
http://uk2.php.net/manual/en/ref.ssh2.php
Not the best solution, especially with people finding it hard to use the functions. But i'm tired and can't think at the moment, lol.