0

I am running some simulation through a server.

I usually login in the server using ssh command from the shell of my laptop. then I run emacs in terminal mode and with it I start some python simulations.

Now I would like to close the connection between my laptop and the server but leave the simulations and emacs running in the server.

I would like then be able to connect again to the server and restart to work with emacs.

How can I do that?

Donbeo
  • 501
  • 1
  • 8
  • 27

1 Answers1

1

You might be able to detach the processes from your terminal and leave them running in the background but there would be no way to reattach them later.

To achieve what you describe, you would need to use screen, tmux or a similar tool that allows reconnecting.

See How to keep processes running after ending ssh session?

jlliagre
  • 5,833