I am trying to write a bash script to login to a range of servers and execute some commands, the server which is going to be running the bash script doesn't have EXPECT or SSHPASS installed and I am unable to install it.
I am looking for either a way for the script to automate the login without BASH or SSHPASS.
Alternatively the script pauses at the point where SSH wants the password the user running the script then manually enters the password and then the script resumes to run the commands on that device. This then repeats for each device, I know this isn't very efficient but it isn't really a problem.
I have searched online for a couple of hours but everything seems to relate to 3rd party tools that I can' install.