Java Running Remote Bashscript
问题 I want to connect a remote machine(has a Linux operation system) from my Java Program and I want to run a script on it. I will process the result of that script(it writes something to console) too. What do you suggest for me? If anything needed I can explain more. 回答1: There are SSH libraries in java. you can use them to execute scripts on a remote machine. 来源: https://stackoverflow.com/questions/5577513/java-running-remote-bashscript