Running a command over SSH is easy. Just put the command at the and of the SSH command. For example, to run echo Hello over SSH, with the user user and the ...
I am trying to create an ssh connection and do some things on the remote server from within the script. However the terminal prompts me for a password.
I want a bash script to start multiple SSH connections to multiple linux servers in multiple new bash windows, not for further processing, just to connect with ...
First of all you prepare your script and by running the scp you transfer it to remote server and by ssh you will execute. This can dive in recursively.