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.

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 '18 at 11:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.