When you start a program and close SSH terminal (putty or other) window, program closes.To make in run after you close terminal window you need to install program called screen.Screen install on Debian systems: