I am trying to deploy an executable and execute it on 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 been materialized.
How can I do this?