I am trying to deploy an executable and execute it on a remote Unix machine (Linux/Solaris) from Linux without entering the password manually.
I tried scp and also SSH key-gen utility to interact with remote server but in either way I couldn't avoid providing the password manually. Since I need to run this command/utility from Java code, I should completely avoid prompting for the password at run time. I have gone through many topics in Google but nothing has materialized.
How can I do this?