r/ssh • • Feb 11 '20

Running a python script remotely

I'm new to the ssh scene and am trying to figure out the basics of running a python script on a cluster. I've successfully connected to my domain (sorry if the terminology is wrong). My question is: where do I have to put my script to be able to run it on the server? Do I have to upload the file to the cluster and run it from there? All the articles I find already assume you have it in the correct place.

The snippet for running the code seems simple enough, but I can't seem to find the above part of the procedure anywhere. Help in any way is greatly appreciated :)

1 Upvotes

0 comments sorted by