The Perl module [link|http://search.cpan.org/search?dist=Net-SSH-Perl|Net::SSH::Perl].
Dunno if it compiles on AS400 though. But give it a shot (you can find Perl for the AS400). If it works, then report it to someone. :-)
Cheers, Ben
"... I couldn't see how anyone could be educated by this self-propagating system in which people pass exams, teach others to pass exams, but nobody knows anything." --Richard Feynman