Asked by Babu Sampath
at 2024-07-19 07:36:49
Point:500 Replies:9 POST_ID:829029USER_ID:11932
Topic:
Linux;;
Hello experts,
i have to login to multiple servers using ssh and i wish to automate it,
after doing ssh,
it prompts - Are you sure you want to continue connecting (yes/no)? --> i need to give input as yes
then it prompts for password ----> i need to input my password then
and execute a command and log out.
Please let me know a way to automate it.
i have checked sshpass utility is not present in the server im working on. please suggest.
thanks
i have to login to multiple servers using ssh and i wish to automate it,
after doing ssh,
it prompts - Are you sure you want to continue connecting (yes/no)? --> i need to give input as yes
then it prompts for password ----> i need to input my password then
and execute a command and log out.
Please let me know a way to automate it.
i have checked sshpass utility is not present in the server im working on. please suggest.
thanks