0

I am really new on this. I am running ubuntu on google cloud computing. I connect to the compute engine using ssh and I start an Ethereum node. However, when I close the ssh connection the node seen to go down as well. It si the same for any other program I ran.

My purpose is to run the node and a python script in the machine. Do I need to keep the ssh connection alive to keep these programs running? I assume the answer is not, but I do not know how to make it work.

Any help would be appreciated.

1 Answer 1

0

That's easy, all processes executed in your SSH session would be closed when you disconnect. Easiest way to keep they running after logout - use screen. Run your processes in screen, detach and logout. In that case your processes work after your logout.

1
  • Awesome, looked into it and it works! Thanks. Learned also that tmux will work as well
    – Jaime
    Apr 8, 2018 at 11:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .