I have to run a local shell script (windows/Linux) on a remote machine.
I have SSH configured on both machine A and B. My script is on machine A which will run some o
if you wanna execute command like this temp=`ls -a` echo $temp command in `` will cause errors.
temp=`ls -a` echo $temp
below command will solve this problem ssh user@host ''' temp=`ls -a` echo $temp '''
ssh user@host ''' temp=`ls -a` echo $temp '''