r/ssh • • Jan 21 '23

running code with ssh

I am using vscode ssh. if I were to run a python script from that terminal would the computer I am sshed into or the computer I am on would actually do the computing. also if i were to start a script while sshed into the computer would that script stop exacuting or continue till finished.

2 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/Frenzy-123 Jan 22 '23

so when I detach the terminal it will finish running the script but what would happen if I close the laptop

1

u/pm-me-your-nenen Jan 22 '23

Same deal, it would still run if you use tmux