How to execute a shell script in remote server
In remote server create your file. On the top of your file add #!/bin/bash Now, make your file executable sudo
Read moreIn remote server create your file. On the top of your file add #!/bin/bash Now, make your file executable sudo
Read moreTo connect to remote sever through script 1.Install sshpass sudo apt install sshpass Create a script file sshpass -p ‘password’
Read more