nodejs web hosting
We will run the script passing the IP address and commands.sh file as command line arguments. Unfortunately, password prompts are not managed by stdin, so we cannot pipe the password to our child ssh process through node directly. What that means is that you will have to manually copy-and-paste your root password from the command line when prompted. The node script will behave just like the terminal, so if you get any interactive prompts, just respond to them.