scala-ssh provides remote shell access via SSH for your Scala applications.
Besides remote execution of shell commands, you get access to stdin
, stdout
and stderr
, private key authentication and host configuration via code or from resource file.
Here’s a simple example of how to use the API:
1 2 3 4 5 |
|