I want to connect from ServerA to ServerB , and check Oracle Database Status and PendingLogs then record results, and use the result on ServerA ,and compare with the result on serverA and generate logs on serverA.
ssh -q firstname.lastname@example.org sh -s < /root/script.sh > /root/output.txt
but I still have to enter password manually.
is there any way to turn off interactive login?
how can I run script file via