I have two redhat linux server. i have created one script which contain some command that run on Local server as well as remote server.I am using this command to connect to remote server
ssh user1@192.x.x.x 'command'
but when i am running the script in local server it connecting to the server but asking for password.It is possible to pass password in script or any other way so that we connect without passing password?.I want to schedule this job with cron tab.Thanks in advance.
Ranvijai