Linux Today: Linux News On Internet Time.

Executing commands on a remote machine from Java with JSch

Aug 01, 2019, 06:00 (0 Talkback[s])
(Other stories by Thomas Sandmann)

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. For one such tool, you can read about ansible on Ubuntu for example. You can also find many implementations of the ssh client, but what about accessing the abilities ssh provides from code?

Complete Story