Best way to run remote commands on a Windows server with Java?

Are there existing solutions for remotely executing commands on a Windows server natively? psexec.exe is not an option since a Java application must be cross platform.

Even a pre-existing solution using Java RM is sufficient.

I am currently using the SSH client library for ssh via java on a Windows server running the cygwin SSH daemon. Unfortunately, the SSH daemon has some problems when it comes to quoting commands that are part of the CMD shell (unlike bash).

+2
source share
2 answers

Java RDP Client. , , .

getopt, , GPL'd.

+2

Source: https://habr.com/ru/post/1650888/


All Articles