We know:
ssh root@host -C "/bin/bash" < 1.sh
you can execute local scripts.
but now there are two scripts, 1.sh and 2.sh, where 1.sh is the configuration file and 2.sh needs to use the configuration file variables.
excuse me, how do ssh execute local scripts twice.