开发者

Java Running Remote Bashscript

开发者 https://www.devze.com 2023-02-22 12:08 出处:网络
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 writ开发者_运维知识库es something to

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 writ开发者_运维知识库es something to console) too.

What do you suggest for me? If anything needed I can explain more.


There are SSH libraries in java. you can use them to execute scripts on a remote machine.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号