I use a script to run a subscript. The subscript actually ssh's to WDcloud. After running subscript, I need to run certain commands in the ssh session of WDcloud. But after running the subscript which connects to ssh, the following lines are not running within the ssh session.
The script is something like:
#!/bin/bash
ssh2cloud.sh
commands_to_run_in_ssh
ssh Server <<Limiter
Commands
You
Need
To
Run
Limiter
This should solve your problem. If you want to know more look at this
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments