SSH is an every-day tool of any Linux System Administration job. It is an easy and secure way to access remote machines on the network, transfer data and execute remote commands. Apart from interactive mode, there are many tools exist that enable automation of remote tasks that also rely on the existing ssh
server/client architecture.
This is a companion discussion topic for the original entry at https://linuxconfig.org/executing-commands-on-a-remote-machine-from-java-with-jsch