I have a python script and input data that the python script takes. I want to execute the python script on remote server without copying python script and data to the remote server. Can this kind of cases be possible to solve.
At first i activate the virtual environment and entered to the /home/dong/fold where python script present in the local machine script.py should be executed.
I used the script
ssh dong@182.27.35.xxx "conda activate env; cd /home/dong/fold"
It doesn't execute the script instead it shows error no script.py present
source https://stackoverflow.com/questions/72004991/executing-script-on-remote-server
Comments
Post a Comment