I am working on a website designed to remotely connect to different unix boxes (ssh) and perform different command line tasks.
What does Java give us regarding connecting, processing command line args, etc. Does Java offer anything similar to Expect scripting?
What is the best way (preferably Java, but we can do Perl too) to:
1) Get user login credentials via web and remotely connect (ssh) to the boxes.
2) Process CLI commands from Java app (servlet)