I've tried
Runtime.getRuntime().exec("ssh guest@guest password");
Runtime.getRuntime().exec("do something at guest@guest");
But this prompts me for password. I would like to automate ssh login and do something like create a file in the remote client.
What's the best way to do this?
Thanks